Update polybar config

This commit is contained in:
Henrik Lissner 2017-06-08 15:07:51 +02:00
parent 53fdec6330
commit 4a7ccb3a03
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 12 additions and 11 deletions

View file

@ -406,8 +406,9 @@ menu-2-1-exec = menu-open-0
type = custom/ipc type = custom/ipc
format = <output> format = <output>
format-padding = 3 format-padding = 3
hook-0 = ~/.config/polybar/modules/updates hook-0 = /home/hlissner/.config/polybar/modules/updates
initial = 1 initial = 1
click-left = polybar-msg -p %pid% hook pkg 1
[module/mail] [module/mail]
type = custom/script type = custom/script
@ -415,13 +416,13 @@ interval = 300
format = <label> format = <label>
format-padding = 3 format-padding = 3
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
exec = ~/.config/polybar/modules/mail exec = /home/hlissner/.config/polybar/modules/mail
[module/redshift] [module/redshift]
type = custom/script type = custom/script
interval = 30 interval = 30
format-padding = 3 format-padding = 3
exec = ~/.config/polybar/modules/redshift exec = /home/hlissner/.config/polybar/modules/redshift
exec-if = "pgrep redshift >/dev/null" exec-if = "pgrep redshift >/dev/null"
; vim:ft=dosini ; vim:ft=dosini

View file

@ -1,12 +1,12 @@
[Trigger] [Trigger]
Operation=Install Operation = Install
Operation=Upgrade Operation = Upgrade
Operation=Remove Operation = Remove
Type=Package Type = Package
Target=* Target = *
[Action] [Action]
Description="Updating lemonbar" Description = Updating lemonbar
When=PostTransaction When = PostTransaction
Exec="/home/hlissner/.config/panel/panel-pacman-hook" Exec = /home/hlissner/.config/panel/panel-pacman-hook