added spotify hook to dunst and polybar
This commit is contained in:
parent
7584d0832f
commit
e39a881b41
@ -41,7 +41,7 @@
|
|||||||
# The transparency of the window. Range: [0; 100].
|
# The transparency of the window. Range: [0; 100].
|
||||||
# This option will only work if a compositing window manager is
|
# This option will only work if a compositing window manager is
|
||||||
# present (e.g. xcompmgr, compiz, etc.).
|
# present (e.g. xcompmgr, compiz, etc.).
|
||||||
transparency = 0
|
transparency = 20
|
||||||
|
|
||||||
# The height of the entire notification. If the height is smaller
|
# The height of the entire notification. If the height is smaller
|
||||||
# than the font height and padding combined, it will be raised
|
# than the font height and padding combined, it will be raised
|
||||||
@ -72,7 +72,7 @@
|
|||||||
# * foreground: use the same color as the foreground;
|
# * foreground: use the same color as the foreground;
|
||||||
# * frame: use the same color as the frame;
|
# * frame: use the same color as the frame;
|
||||||
# * anything else will be interpreted as a X color.
|
# * anything else will be interpreted as a X color.
|
||||||
separator_color = frame
|
separator_color = auto
|
||||||
|
|
||||||
# Sort messages by urgency.
|
# Sort messages by urgency.
|
||||||
sort = yes
|
sort = yes
|
||||||
@ -149,7 +149,7 @@
|
|||||||
ignore_newline = no
|
ignore_newline = no
|
||||||
|
|
||||||
# Stack together notifications with the same content
|
# Stack together notifications with the same content
|
||||||
stack_duplicates = true
|
stack_duplicates = false
|
||||||
|
|
||||||
# Hide the count of stacked notifications with the same content
|
# Hide the count of stacked notifications with the same content
|
||||||
hide_duplicate_count = false
|
hide_duplicate_count = false
|
||||||
@ -186,7 +186,7 @@
|
|||||||
browser = /usr/bin/firefox -new-tab
|
browser = /usr/bin/firefox -new-tab
|
||||||
|
|
||||||
# Always run rule-defined scripts, even if the notification is suppressed
|
# 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
|
# Define the title of the windows spawned by dunst
|
||||||
title = Dunst
|
title = Dunst
|
||||||
@ -364,6 +364,11 @@
|
|||||||
# msg_urgency = critical
|
# msg_urgency = critical
|
||||||
# fullscreen = show
|
# fullscreen = show
|
||||||
|
|
||||||
|
[spotify-polybar]
|
||||||
|
appname = Spotify
|
||||||
|
skip_display = yes
|
||||||
|
script = ~/.config/dunst/polybar-hook.sh
|
||||||
|
|
||||||
#[espeak]
|
#[espeak]
|
||||||
# summary = "*"
|
# summary = "*"
|
||||||
# script = dunst_espeak.sh
|
# script = dunst_espeak.sh
|
||||||
|
3
.config/dunst/polybar-hook.sh
Executable file
3
.config/dunst/polybar-hook.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
polybar-msg hook spotifyd 1
|
Loading…
Reference in New Issue
Block a user