diff --git a/.config/polybar/config b/.config/polybar/config index 89301d74..8f064c96 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -19,6 +19,7 @@ icon-date = ${res/colors.primary} icon-dropbox = ${res/colors.primary} icon-fs = ${xrdb:color11} icon-memory = ${xrdb:color13} +icon-tor = ${xrdb:color13} icon-volume = ${res/colors.primary} icon-wlan = ${xrdb:color14} icon-wm = ${xrdb:color12} @@ -105,7 +106,7 @@ border-top-size = 0 modules-left = bspwm modules-center = xwindow -modules-right = fs-home | wlan +modules-right = fs-home | tor wlan [bar/secondary] monitor = ${env:PB_MONITOR} @@ -261,6 +262,15 @@ bar-used-empty-foreground = ${res/colors.bar-empty} bar-used-indicator = ${res/config.bar-indicator} bar-used-indicator-foreground = ${res/colors.background-alt} +[module/tor] +type = custom/script +format-prefix = "Tor: " +format-prefix-foreground = ${res/colors.icon-tor} +interval = 10 + +exec = echo Inactive +exec-if = ! systemctl is-active tor + [module/volume] type = internal/volume format-volume =