This commit is contained in:
danijoo
2020-12-09 13:30:28 +01:00
parent 88baca7458
commit fbb76a9e25
9 changed files with 54 additions and 21 deletions

View File

@@ -85,10 +85,10 @@ ws-icon-2=3;3
ws-icon-3=4;4
ws-icon-4=5;5
ws-icon-5=6;6
ws-icon-6=7;
ws-icon-7=8;
ws-icon-8=9;
ws-icon-9=10;
ws-icon-6=7;7
ws-icon-7=8;8
ws-icon-8=9;9
ws-icon-9=10;0
[module/mpd]
type=internal/mpd
@@ -399,3 +399,18 @@ exec=echo ""
exec-if="pgrep spotify"
line-size=1
click-left="dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next"
[module/unread_mail]
type = custom/script
exec = "/home/bauer/conda/bin/python3 /home/bauer/.config/polybar/UnseenMail/UnseenMail.py"
interval = 100
format = <label>
click-left = thunderbird &;
[module/notifyd]
type = custom/ipc
initial = 1
format-foreground = ${colors.yellow}
hook-0 = echo "%{xfconf-query -c xfce4-notifyd -p /do-not-disturb -s true}%{A}" &
hook-1 = echo "%{xfconf-query -c xfce4-notifyd -p /do-not-disturb -s false}%{A}" &