update smol

This commit is contained in:
паша душный 2023-03-16 15:38:56 +03:00
parent e66013f716
commit 5478beac49
4 changed files with 46 additions and 27 deletions

View file

@ -102,7 +102,7 @@ font-2 = SymbolsNerdFont:size=10;1
modules-left = i3
modules-right = mpd mpdvol weather updates
modules-right = mpd mpdvol weather updates uptime
cursor-click = pointer
cursor-scroll = ns-resize
@ -203,7 +203,7 @@ format-offline = <label-offline>
; %date%
; %title%
; Default: %artist% - %title%
label-song = %artist% - %title%
label-song = %artist% - %title:0:80%
label-time = %elapsed% / %total%
label-offline = mpd is offline
@ -222,9 +222,15 @@ interval = 960
[module/updates]
type = custom/script
exec = ~/.config/polybar/scripts/updates.sh
exec = ~/.config/polybar/scripts/updates.sh
interval = 3600
[module/uptime]
type = custom/script
exec = echo 󰅔 $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
interval = 600
[module/mpdvol]
type = custom/script
exec = echo  $(mpc --host=192.168.0.186 status %volume%)