toggle status

This commit is contained in:
Simon Rieger 2023-05-31 14:22:14 +02:00
parent 265de5eef1
commit 2f3e96f583

View file

@ -66,10 +66,7 @@ command = "if pgrep svkbd-mobile-in >/dev/null; then echo \"󰌌\"; else echo \"
interval = 1 interval = 1
[[block.click]] [[block.click]]
button = "left" button = "left"
cmd = "svkbd-mobile-intl -d" cmd = "if pgrep svkbd-mobile-in >/dev/null; then pkill svkbd-mobile-in; else svkbd-mobile-intl -d; fi"
[[block.click]]
button = "right"
cmd = "pkill svkbd-mobile-in"
[[block]] [[block]]
block = "battery" block = "battery"