diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 7380ddf..212662d 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -41,7 +41,7 @@ # The transparency of the window. Range: [0; 100]. # This option will only work if a compositing window manager is # present (e.g. xcompmgr, compiz, etc.). - transparency = 0 + transparency = 20 # The height of the entire notification. If the height is smaller # than the font height and padding combined, it will be raised @@ -72,7 +72,7 @@ # * foreground: use the same color as the foreground; # * frame: use the same color as the frame; # * anything else will be interpreted as a X color. - separator_color = frame + separator_color = auto # Sort messages by urgency. sort = yes @@ -149,7 +149,7 @@ ignore_newline = no # Stack together notifications with the same content - stack_duplicates = true + stack_duplicates = false # Hide the count of stacked notifications with the same content hide_duplicate_count = false @@ -186,7 +186,7 @@ browser = /usr/bin/firefox -new-tab # Always run rule-defined scripts, even if the notification is suppressed - always_run_script = true + always_run_script = false # Define the title of the windows spawned by dunst title = Dunst @@ -364,6 +364,11 @@ # msg_urgency = critical # fullscreen = show +[spotify-polybar] + appname = Spotify + skip_display = yes + script = ~/.config/dunst/polybar-hook.sh + #[espeak] # summary = "*" # script = dunst_espeak.sh diff --git a/.config/dunst/polybar-hook.sh b/.config/dunst/polybar-hook.sh new file mode 100755 index 0000000..a5f6d91 --- /dev/null +++ b/.config/dunst/polybar-hook.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +polybar-msg hook spotifyd 1