feat(polybar): add `exec-if`s idk why

This commit is contained in:
Flinner Yuu 2022-05-23 00:41:26 +03:00
parent 00489d39ec
commit 83ff2a5a92
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ format-prefix-foreground = ${color.green}
# See: https://github.com/keepassxreboot/keepassxc/discussions/7906 # See: https://github.com/keepassxreboot/keepassxc/discussions/7906
[module/keepassxc] [module/keepassxc]
type = custom/script type = custom/script
exec-if = pgrep keepassxc
exec = secret-tool lookup check status &> /dev/null && echo " " exec = secret-tool lookup check status &> /dev/null && echo " "
interval = 5 interval = 5
@ -90,7 +90,7 @@ type = custom/script
# icon-color "#FDD835")) # icon-color "#FDD835"))
# (concat "%{F" icon-color "}" icon "%{F-}" message))) # (concat "%{F" icon-color "}" icon "%{F-}" message)))
exec-if = emacsclient --eval '(emacs-version)'
exec = emacsclient --eval '(my/polybar/org-clock)' | sed 's/"//g' exec = emacsclient --eval '(my/polybar/org-clock)' | sed 's/"//g'