Polybar: Make Tor module more intricate
This commit is contained in:
parent
a7438cbaf1
commit
01cccf3d6b
@ -268,7 +268,7 @@ format-prefix = "Tor: "
|
|||||||
format-prefix-foreground = ${res/colors.icon-tor}
|
format-prefix-foreground = ${res/colors.icon-tor}
|
||||||
interval = 10
|
interval = 10
|
||||||
|
|
||||||
exec = echo Inactive
|
exec = if systemctl is-failed --quiet tor; then echo Failed, see logs for details; elif ! systemctl is-enabled --quiet tor; then echo Disabled; else echo Inactive; fi
|
||||||
exec-if = ! systemctl is-active tor
|
exec-if = ! systemctl is-active tor
|
||||||
|
|
||||||
[module/volume]
|
[module/volume]
|
||||||
|
Loading…
Reference in New Issue
Block a user