upd bigg
This commit is contained in:
parent
f11c775e3d
commit
5d13185f34
3 changed files with 47 additions and 22 deletions
|
@ -207,13 +207,14 @@ interval = 900
|
|||
[module/updates]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/updates.sh
|
||||
interval = 3600
|
||||
interval = 600
|
||||
|
||||
[module/uptime]
|
||||
type = custom/script
|
||||
format-prefix = ""
|
||||
format-prefix = " "
|
||||
# exec = echo $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
|
||||
exec = uptime | sed 's/.*up //g;s/,.*user.*//g'
|
||||
# exec = uptime | sed 's/.*up //g;s/,.*user.*//g'
|
||||
exec = uptime | sed 's/.*up //;s/,.*user.*//' | tr ' ' ' '
|
||||
interval = 60
|
||||
|
||||
[module/mpdvol]
|
||||
|
@ -225,6 +226,8 @@ hook-0 = echo $(mpc --host=192.168.0.186 status %volume%)
|
|||
hook-1 = mpc --host=192.168.0.186 volume +1 > /dev/null
|
||||
hook-2 = mpc --host=192.168.0.186 volume -1 > /dev/null
|
||||
hook-3 = mpc --host=192.168.0.186 toggleoutput 1 > /dev/null
|
||||
hook-4 = mpc --host=192.168.0.186 volume +5 > /dev/null
|
||||
hook-5 = mpc --host=192.168.0.186 volume -5 > /dev/null
|
||||
|
||||
# exec = echo $(mpc --host=192.168.0.186 status %volume%)
|
||||
# scroll-up = mpc --host=192.168.0.186 volume +5
|
||||
|
@ -253,7 +256,7 @@ label-open =
|
|||
|
||||
[module/openvpn]
|
||||
type = custom/script
|
||||
exec = hostname -i | sed 's#.*10\.8#10\.8#'
|
||||
exec = hostname -i | sed 's#.*10\.8#10\.8#' | sed 's# 10.66.66.2*##'
|
||||
exec-if = pgrep -x openvpn
|
||||
tail = true
|
||||
interval = 5
|
||||
|
@ -366,7 +369,7 @@ label-song = %artist% - %title:0:100%
|
|||
|
||||
label-time = %elapsed% / %total%
|
||||
|
||||
label-offline = mpd is offline
|
||||
label-offline = mpd is offline
|
||||
|
||||
icon-play =
|
||||
icon-pause =
|
||||
|
@ -423,7 +426,7 @@ label-muted-foreground = ${colors.disabled}
|
|||
use-ui-max = false
|
||||
|
||||
; Right and Middle click
|
||||
click-right = kitty -1 pulsemixer
|
||||
click-right = kitty pulsemixer
|
||||
; click-middle =
|
||||
|
||||
; Only applies if <ramp-volume> is used
|
||||
|
@ -547,6 +550,6 @@ date-alt = %H:%M:%S
|
|||
label = %date%
|
||||
label-foreground = ${colors.primary}
|
||||
|
||||
right-click = kitty -1 ikhal
|
||||
right-click = kitty ikhal
|
||||
|
||||
; vim:ft=dosini
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue