This commit is contained in:
паша душный 2023-02-27 22:56:21 +03:00
parent 1559317812
commit e66013f716
4 changed files with 30 additions and 27 deletions

View file

@ -18,6 +18,7 @@
[colors]
background = #ccfdf6e3
; background = #00fdf6e3
background-alt = #ccfdf6e3
foreground = #657b83
primary = #657b83
@ -59,7 +60,7 @@ font-2 = SymbolsNerdFont:size=10;2
modules-left = xwin-bigg
modules-center = date
modules-right = openvpn wireguard ethernet memory cpu temperature pulseaudio xkeyboard powermenu
modules-right = openvpn wireguard ethernet memory swap cpu pulseaudio xkeyboard powermenu
cursor-click = pointer
cursor-scroll = ns-resize
@ -97,7 +98,7 @@ font-2 = SymbolsNerdFont:size=10;2
modules-left = xwin-smol
modules-center = date
modules-right = xkeyboard powermenu
modules-right = pulseaudio xkeyboard powermenu
cursor-click = pointer
cursor-scroll = ns-resize
@ -136,7 +137,7 @@ font-2 = SymbolsNerdFont:size=10;2
modules-left = i3
modules-right = mpd mpdvol weather updates
modules-right = mpd mpdvol weather updates uptime
cursor-click = pointer
cursor-scroll = ns-resize
@ -178,7 +179,7 @@ font-2 = SymbolsNerdFont:size=10;2
modules-left = i3
; modules-right = filesystem
modules-right = root home storage
modules-right = root home storage
cursor-click = pointer
cursor-scroll = ns-resize
@ -196,16 +197,23 @@ monitor = HDMI-A-0
###############
[module/weather]
; format-background = ${colors.background-alt}
type = custom/script
; hook-0 = ~/.config/polybar/scripts/weather-plugin.sh
exec = ~/.config/polybar/scripts/weather-plugin.sh
tail = false
interval = 960
interval = 900
[module/updates]
type = custom/script
exec = ~/.config/polybar/scripts/updates.sh
interval = 3600
[module/uptime]
type = custom/script
exec = echo 󰅔 $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
interval = 60
[module/mpdvol]
type = custom/script
exec = echo  $(mpc --host=192.168.0.186 status %volume%)
@ -426,7 +434,14 @@ type = internal/memory
interval = 2
# format-prefix = " "
format-prefix-foreground = ${colors.primary}
label =  %gb_used%/%gb_total% |  %swap_used%/%swap_total%
label =  %gb_used%/%gb_total%
[module/swap]
type = internal/memory
interval = 2
# format-prefix = " "
format-prefix-foreground = ${colors.primary}
label =  %swap_used%/%swap_total%
[module/cpu]
type = internal/cpu
@ -470,7 +485,7 @@ interval = 3.0
ping-interval = 5
; unknown-as-up = true
label-connected = 󰒄 %ifname% %local_ip%
label-disconnected = 󰒄 %ifname% %local_ip%
label-disconnected = 󰒄 %local_ip%
[module/openvpn]
type = internal/network
@ -478,7 +493,7 @@ interface = tun0
interface-type = wired
interval = 3.0
ping-interval = 5
label-connected = 󰖂 %ifname%
label-connected = 󰖂 %local_ip%
label-disconnected =
[module/ethernet]
@ -504,7 +519,7 @@ ping-interval = 5
; %netspeed% [wireless+wired] (%upspeed% + %downspeed%) (New in version 3.6.0)
; %linkspeed% [wired]
; %mac% [wireless+wired] (New in version 3.6.0)
label-connected = 󰱔 %ifname%
label-connected = 󰱔 %local_ip%
label-disconnected = 󰅛󰅖
[module/date]