From 83ff2a5a924f119d8d23240b33e821032410733a Mon Sep 17 00:00:00 2001 From: Flinner Yuu Date: Mon, 23 May 2022 00:41:26 +0300 Subject: [PATCH] feat(polybar): add `exec-if`s idk why --- polybar/.config/polybar/forest/user_modules.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polybar/.config/polybar/forest/user_modules.ini b/polybar/.config/polybar/forest/user_modules.ini index 3861e4b..b653687 100644 --- a/polybar/.config/polybar/forest/user_modules.ini +++ b/polybar/.config/polybar/forest/user_modules.ini @@ -62,7 +62,7 @@ format-prefix-foreground = ${color.green} # See: https://github.com/keepassxreboot/keepassxc/discussions/7906 [module/keepassxc] type = custom/script - +exec-if = pgrep keepassxc exec = secret-tool lookup check status &> /dev/null && echo " " interval = 5 @@ -90,7 +90,7 @@ type = custom/script # icon-color "#FDD835")) # (concat "%{F" icon-color "}" icon "%{F-}" message))) - +exec-if = emacsclient --eval '(emacs-version)' exec = emacsclient --eval '(my/polybar/org-clock)' | sed 's/"//g'