Added swap into polybar
This commit is contained in:
parent
6f1fdf80a8
commit
d45b4de9ea
|
@ -34,7 +34,7 @@ foreground = ${colors.foreground}
|
||||||
separator = " "
|
separator = " "
|
||||||
font-0 = lemon:pixelsize=7
|
font-0 = lemon:pixelsize=7
|
||||||
font-1 = xos4 Terminus:pixelsize=9
|
font-1 = xos4 Terminus:pixelsize=9
|
||||||
font-2 = Unifont:pixelsize=9
|
font-2 = JF Dot Elisa Font 8:pixelsize=6
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
|
@ -76,7 +76,7 @@ exec = TZ=Europe/Warsaw date "+[Dia:%I:%M]"
|
||||||
type = internal/memory
|
type = internal/memory
|
||||||
interval = 1
|
interval = 1
|
||||||
format = "[MEM:<label>]"
|
format = "[MEM:<label>]"
|
||||||
label = %percentage_used:3%%
|
label = %percentage_used:3%%|%percentage_swap_used:3%%
|
||||||
|
|
||||||
[module/cpu]
|
[module/cpu]
|
||||||
type = internal/cpu
|
type = internal/cpu
|
||||||
|
@ -88,8 +88,6 @@ label = %percentage:3%%
|
||||||
type = internal/fs
|
type = internal/fs
|
||||||
interval = 30
|
interval = 30
|
||||||
mount-0 = /
|
mount-0 = /
|
||||||
mount-1 = /mnt/windows
|
|
||||||
mount-2 = /run/media/hkc/626A60A76A607A25
|
|
||||||
format-mounted = [<label-mounted>]
|
format-mounted = [<label-mounted>]
|
||||||
label-mounted = %mountpoint%:%percentage_used:2%%
|
label-mounted = %mountpoint%:%percentage_used:2%%
|
||||||
label-warn = %mountpoint%:%percentage_used:2%%
|
label-warn = %mountpoint%:%percentage_used:2%%
|
||||||
|
@ -139,14 +137,14 @@ format-disconnected = "[<label-disconnected>]"
|
||||||
|
|
||||||
[module/net-all]
|
[module/net-all]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = ~/.config/polybar/info-speed enp0s25 wlp3s0
|
exec = ~/.config/polybar/info-speed enp2s0 wlan0
|
||||||
tail = true
|
tail = true
|
||||||
|
|
||||||
[module/net-wlan0]
|
[module/net-wlan0]
|
||||||
inherit = module/net-base
|
inherit = module/net-base
|
||||||
label-connected = "w:%essid%:%local_ip%"
|
label-connected = "w:%essid%:%local_ip%"
|
||||||
format-connected = "[<label-connected>]"
|
format-connected = "[<label-connected>]"
|
||||||
interface = wlp3s0
|
interface = wlan0
|
||||||
|
|
||||||
[module/net-wlan1]
|
[module/net-wlan1]
|
||||||
inherit = module/net-base
|
inherit = module/net-base
|
||||||
|
@ -156,7 +154,7 @@ interface = wlan1
|
||||||
|
|
||||||
[module/net-eth0]
|
[module/net-eth0]
|
||||||
inherit = module/net-base
|
inherit = module/net-base
|
||||||
interface = enp0s25
|
interface = enp2s0
|
||||||
|
|
||||||
[module/net-eth1]
|
[module/net-eth1]
|
||||||
inherit = module/net-base
|
inherit = module/net-base
|
||||||
|
@ -172,7 +170,7 @@ unknown-as-up = true
|
||||||
; GENERIC SETTINGS (i.e volume/brightness/etc)
|
; GENERIC SETTINGS (i.e volume/brightness/etc)
|
||||||
;==================================================
|
;==================================================
|
||||||
[module/volume]
|
[module/volume]
|
||||||
type = internal/alsa
|
type = internal/pulseaudio
|
||||||
format-volume = "[<label-volume>]"
|
format-volume = "[<label-volume>]"
|
||||||
format-muted = "[<label-muted>]"
|
format-muted = "[<label-muted>]"
|
||||||
label-volume = "%percentage:3%%"
|
label-volume = "%percentage:3%%"
|
||||||
|
|
Loading…
Reference in New Issue