mirror of https://github.com/Flinner/dots.git
feat(polybar): add `exec-if`s idk why
This commit is contained in:
parent
00489d39ec
commit
83ff2a5a92
|
@ -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'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue