polybar: major update with icons
This commit is contained in:
parent
3c713a09ce
commit
c10862c66e
1 changed files with 55 additions and 7 deletions
|
|
@ -67,11 +67,13 @@ module-margin = 1
|
||||||
separator = |
|
separator = |
|
||||||
separator-foreground = ${colors.disabled}
|
separator-foreground = ${colors.disabled}
|
||||||
|
|
||||||
font-0 = JetBrainsMonoNL Nerd Font Mono;3
|
font-0 = "Liberation Mono:size=11;3"
|
||||||
|
font-1 = "Symbols Nerd Font Mono:size=13;3"
|
||||||
|
; font-0 = "JetBrainsMonoNL Nerd Font Mono:size=11;3"
|
||||||
|
|
||||||
; modules-left = i3 xwindow
|
; modules-left = i3 xwindow
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
modules-right = filesystem_root filesystem_home pulseaudio memory cpu xkeyboard date
|
modules-right = wlan battery filesystem_root pulseaudio memory cpu xkeyboard date
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
|
|
@ -114,13 +116,13 @@ label-unmounted-foreground = ${colors.disabled}
|
||||||
[module/pulseaudio]
|
[module/pulseaudio]
|
||||||
type = internal/pulseaudio
|
type = internal/pulseaudio
|
||||||
|
|
||||||
format-volume-prefix = "VOL "
|
format-volume-prefix = " "
|
||||||
format-volume-prefix-foreground = ${colors.primary}
|
format-volume-prefix-foreground = ${colors.primary}
|
||||||
format-volume = <label-volume>
|
format-volume = <label-volume>
|
||||||
|
|
||||||
label-volume = %percentage%%
|
label-volume = %percentage%%
|
||||||
|
|
||||||
label-muted = muted
|
label-muted = muted
|
||||||
label-muted-foreground = ${colors.disabled}
|
label-muted-foreground = ${colors.disabled}
|
||||||
|
|
||||||
[module/xkeyboard]
|
[module/xkeyboard]
|
||||||
|
|
@ -144,14 +146,19 @@ format = <label-indicator><label-layout>
|
||||||
[module/memory]
|
[module/memory]
|
||||||
type = internal/memory
|
type = internal/memory
|
||||||
interval = 2
|
interval = 2
|
||||||
format-prefix = "RAM "
|
format-prefix = " "
|
||||||
format-prefix-foreground = ${colors.primary}
|
format-prefix-foreground = ${colors.primary}
|
||||||
label = %percentage_used:2%%
|
label = %percentage_used:2%%
|
||||||
|
; type = internal/memory
|
||||||
|
; interval = 2
|
||||||
|
; format-prefix = " "
|
||||||
|
; format-prefix-foreground = ${colors.primary}
|
||||||
|
; label = %percentage_used:2%%
|
||||||
|
|
||||||
[module/cpu]
|
[module/cpu]
|
||||||
type = internal/cpu
|
type = internal/cpu
|
||||||
interval = 2
|
interval = 2
|
||||||
format-prefix = "CPU "
|
format-prefix = " "
|
||||||
format-prefix-foreground = ${colors.primary}
|
format-prefix-foreground = ${colors.primary}
|
||||||
label = %percentage:2%%
|
label = %percentage:2%%
|
||||||
|
|
||||||
|
|
@ -162,6 +169,10 @@ format-connected = <label-connected>
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = <label-disconnected>
|
||||||
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
|
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
|
||||||
|
|
||||||
|
[module/wireless-network]
|
||||||
|
type = internal/network
|
||||||
|
interface = wlan1
|
||||||
|
|
||||||
|
|
||||||
[module/date]
|
[module/date]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
|
|
@ -272,3 +283,40 @@ unknown-as-up = true
|
||||||
; New in version 3.6.0
|
; New in version 3.6.0
|
||||||
speed-unit = ''
|
speed-unit = ''
|
||||||
|
|
||||||
|
[module/battery]
|
||||||
|
type = internal/battery
|
||||||
|
; This is useful in case the battery never reports 100% charge
|
||||||
|
; Default: 100
|
||||||
|
full-at = 99
|
||||||
|
|
||||||
|
; format-low once this charge percentage is reached
|
||||||
|
; Default: 10
|
||||||
|
; New in version 3.6.0
|
||||||
|
low-at = 5
|
||||||
|
|
||||||
|
; Use the following command to list batteries and adapters:
|
||||||
|
; $ ls -1 /sys/class/power_supply/
|
||||||
|
battery = BAT0
|
||||||
|
adapter = ADP1
|
||||||
|
|
||||||
|
; If an inotify event haven't been reported in this many
|
||||||
|
; seconds, manually poll for new values.
|
||||||
|
;
|
||||||
|
; Needed as a fallback for systems that don't report events
|
||||||
|
; on sysfs/procfs.
|
||||||
|
;
|
||||||
|
; Disable polling by setting the interval to 0.
|
||||||
|
;
|
||||||
|
; Default: 5
|
||||||
|
poll-interval = 5
|
||||||
|
label-discharging = %{F#FF8C00}%{F-} %percentage%% %time%
|
||||||
|
label-charging = %{F#09f429}%{F-} %percentage%%
|
||||||
|
label-full = %{F#1bf1fc}%{F-} %percentage%%
|
||||||
|
label-low = %{F#f20202}%{F-} BATTERY LOW %percentage%%
|
||||||
|
|
||||||
|
[module/wlan]
|
||||||
|
type = internal/network
|
||||||
|
interface = wlp2s0
|
||||||
|
format-connected = <label-connected>
|
||||||
|
label-connected = %{F#f68c23}%{F-} %{T6}%essid% %signal%
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue