This commit is contained in:
паша душный 2023-05-06 23:05:35 +03:00
parent 1df4763305
commit 1a87a87b86
5 changed files with 89 additions and 114 deletions

View file

@ -98,7 +98,8 @@ separator-foreground = ${colors.disabled}
font-0 = Fira Mono:style=Medium:pixelsize=8;1
font-1 = PowerlineSymbols:size=10;1
font-2 = SymbolsNerdFont:size=10;1
# font-2 = SymbolsNerdFont:size=10;1
font-2 = Symbols Nerd Font:style=Regular:size=10;1
modules-left = i3
@ -215,9 +216,15 @@ icon-stop = 
icon-prev =
icon-next =
# [module/weather]
# type = custom/script
# exec = ~/.config/polybar/scripts/weather-plugin.sh
# tail = false
# interval = 960
[module/weather]
type = custom/script
exec = ~/.config/polybar/scripts/weather-plugin.sh
exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr ':' ' '
tail = false
interval = 960
@ -234,7 +241,7 @@ interval = 600
[module/mpdvol]
type = custom/script
exec = echo $(mpc --host=192.168.0.186 status %volume%)
exec = echo 󰴸 $(mpc --host=192.168.0.186 status %volume%)
interval = 5
[module/xwindow]
@ -268,11 +275,11 @@ format = <ramp> <label>
label = %percentage%%
; Only applies if <ramp> is used
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
ramp-0 = 󰃚
ramp-1 = 󰃜
ramp-2 = 󰃝
ramp-3 = 󰃟
ramp-4 = 󰃠
; Use the following command to list available cards:
; $ ls -1 /sys/class/backlight/
@ -307,22 +314,22 @@ format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
label-muted =
label-muted = 󰖁
label-muted-foreground = ${colors.disabled}
; Only applies if <ramp-volume> is used
ramp-volume-0 =
ramp-volume-1 = 奔
ramp-volume-2 =
ramp-volume-0 = 󰕿
ramp-volume-1 = 󰖀
ramp-volume-2 = 󰕾
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
label-layout = %layout%
label-layout = 󰌌 %layout%
label-layout-foreground = ${colors.primary}
label-indicator-on-capslock =
label-indicator-on-capslock = 󰌎
label-indicator-padding = 1
label-indicator-margin = 1
label-indicator-foreground = ${colors.background}
@ -333,12 +340,12 @@ type = internal/memory
interval = 2
# format-prefix = " "
format-prefix-foreground = ${colors.primary}
label =  %gb_used% |  %swap_used%
label = 󰍛 %gb_used% | 󰋊 %swap_used%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix = "󰻠 "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
@ -357,7 +364,7 @@ format = <label>
exec = sensors asus-isa-0000 | grep cpu_fan | sed 's/cpu_fan: //'
# tail = true
; click-left = kill -USR1 %pid%
format-prefix = " "
format-prefix = "󰈐 "
interval = 5
@ -447,8 +454,8 @@ interval = 3.0
# inherit = network-base
# interface-type = wireless
label-connected = %signal%%
label-disconnected =
label-connected = 󰖩 %signal%%
label-disconnected = 󰖪
; Available tags:
; <label-connected> (default)
; <ramp-signal>
@ -515,7 +522,7 @@ interval = 1
date = %a %d/%m %H:%M
date-alt = %H:%M:%S
label = %date%
label = 󰥔 %date%
label-foreground = ${colors.primary}
[module/battery]