mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
feat(polybar): polybar on pntk
This commit is contained in:
parent
81fbfa7ab3
commit
e4bbb752a0
2 changed files with 21 additions and 2 deletions
|
|
@ -183,7 +183,7 @@ use-ui-max = true
|
|||
bar-volume-width = 7
|
||||
bar-volume-foreground-0 = ${colors.white}
|
||||
bar-volume-foreground-1 = ${colors.yellow}
|
||||
bar-volume-foreground-2 = ${colors.yellor}
|
||||
bar-volume-foreground-2 = ${colors.yellow}
|
||||
bar-volume-foreground-3 = ${colors.blue}
|
||||
bar-volume-foreground-4 = ${colors.blue}
|
||||
bar-volume-foreground-5 = ${colors.green}
|
||||
|
|
@ -272,6 +272,25 @@ time-alt = %H:%M:%S
|
|||
format-underline = ${colors.cyan}
|
||||
label = "%date% %time%"
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT0
|
||||
adapter = ADP0
|
||||
|
||||
time-format = %H:%M
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
format-discharging-underline = ${colors.cyan}
|
||||
format-charging-underline = ${colors.yellow}
|
||||
format-full-underline = ${colors.green}
|
||||
label-discharging = %percentage%% %time%
|
||||
label-charging = %percentage%% %time%
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
;compositing-background = xor
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ declare -A BAR_HEIGHT=(
|
|||
declare -A BLOCKS=(
|
||||
["DVI-D-0"]="pulseaudio SEP cpu ram-memory swap-memory SEP network ipstack-vpn SEP xkeyboard SEP sun aw-afk date TSEP"
|
||||
["HDMI-A-0"]="pulseaudio mpd SEP cpu ram-memory swap-memory SEP network ipstack-vpn SEP xkeyboard SEP sun aw-afk date TSEP"
|
||||
["eDP1"]="pulseaudio mpd SEP cpu ram-memory swap-memory SEP network ipstack-vpn SEP xkeyboard SEP sun aw-afk date TSEP"
|
||||
["eDP1"]="pulseaudio mpd SEP cpu ram-memory swap-memory SEP network ipstack-vpn SEP xkeyboard SEP battery SEP sun aw-afk date TSEP"
|
||||
)
|
||||
|
||||
pkill polybar
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue