feat: notification management with minor visuals and mpd cleanup

This commit is contained in:
2026-04-14 10:55:12 +02:00
parent 3df3c1b503
commit b8cc76158b
20 changed files with 3543 additions and 185873 deletions

View File

@@ -17,7 +17,7 @@
replacing_enabled: true,
replacing_resets_timeout: false,
replacing_resets_timeout: true,
closing_enabled: true,
@@ -46,17 +46,17 @@
name: "root",
parent: "",
hook: Hook(parent_anchor: TR, self_anchor: TR),
offset: Vec2(x: -12.0, y: 54),
offset: Vec2(x: -8.0, y: 54),
//render_criteria: [HintImage],
// https://github.com/Toqozz/wired-notify/wiki/NotificationBlock
params: NotificationBlock((
monitor: 0,
border_width: 2.0,
border_width: 4.0,
border_rounding: 4.0,
//background_color: Color(r: 0.15686, g: 0.15686, b: 0.15686, a: 1.0),
background_color: Color(hex: "#141c21"),
border_color: Color(hex: "#141c21"),
border_color_low: Color(hex: "#282828"),
border_color: Color(hex: "#518386"),
border_color_low: Color(hex: "#518386"),
border_color_critical: Color(hex: "#fb4934"),
border_color_paused: Color(hex: "#fabd2f"),
@@ -75,9 +75,9 @@
image_type: Hint,
// We actually want 4px padding, but the border is 3px.
padding: Padding(left: 7.0, right: 0.0, top: 7.0, bottom: 7.0),
rounding: 1.0,
scale_width: 48,
scale_height: 48,
rounding: 2.0,
scale_width: 64,
scale_height: 64,
filter_mode: Lanczos3,
)),
),
@@ -95,7 +95,7 @@
color: Color(hex: "#98a6a6"),
color_hovered: Color(hex: "#fbf1c7"),
padding: Padding(left: 14.0, right: 14.0, top: 10.0, bottom: 4.0),
dimensions: (width: (min: 0, max: 150), height: (min: 0, max: 0)),
dimensions: (width: (min: 0, max: 500), height: (min: 0, max: 0)),
)),
),