Browse Source

polybar: webcheck

master
Maxim Likhachev 6 years ago
parent
commit
090ba1c9f7
  1. 15
      etc/soft/polybar/polybar.conf

15
etc/soft/polybar/polybar.conf

@ -34,7 +34,7 @@ yellow = #FF8C00
wm-name = Conky wm-name = Conky
; monitor = ${env:MONITOR:HDMI-1} ; monitor = ${env:MONITOR:HDMI-1}
width = 100% width = 100%
height = 20 height = 18
fixed-center = false fixed-center = false
background = ${colors.background} background = ${colors.background}
@ -47,7 +47,7 @@ border-size = 0
border-color = ${colors.background} border-color = ${colors.background}
padding-left = 0 padding-left = 0
padding-right = 2 padding-right = 1
module-margin-left = 1 module-margin-left = 1
module-margin-right = 1 module-margin-right = 1
@ -61,7 +61,7 @@ font-2 = DejaVuSansMono Nerd Font Mono:size=9
modules-left = desktop modules-left = desktop
modules-center = filesystem modules-center = filesystem
modules-right = bdays battery mail xkeyboard alsa date modules-right = bdays webcheck battery mail xkeyboard alsa date
separator = | separator = |
@ -161,6 +161,15 @@ format-muted-foreground = ${colors.foreground-alt}
format-muted-underline = ${colors.foreground-alt} format-muted-underline = ${colors.foreground-alt}
label-muted = %percentage%% label-muted = %percentage%%
[module/webcheck]
type = custom/script
label = %output%
label-padding = 1
format-underline = #0a6cf5
interval = 10000
exec = "webcheck short"
[module/battery] [module/battery]
type = internal/battery type = internal/battery
battery = BAT0 battery = BAT0

Loading…
Cancel
Save