polybar: df, lavg, und aufgeräumt
This commit is contained in:
parent
0291babcca
commit
ec5b645235
2 changed files with 16 additions and 2 deletions
|
@ -39,7 +39,7 @@ font-0 = fixed:pixelsize=10;1
|
||||||
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
font-2 = siji:pixelsize=10;1
|
font-2 = siji:pixelsize=10;1
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
modules-right = alsa nightscout_script backlight cpu system-cpu-loadavg memory wlan eth_intern eth_dock battery popup-calendar powermenu
|
modules-right = alsa nightscout_script backlight cpu system-cpu-loadavg memory df battery time powermenu
|
||||||
modules-center =
|
modules-center =
|
||||||
tray-position = right
|
tray-position = right
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
|
@ -58,6 +58,20 @@ interval = 10
|
||||||
format-prefix = "LAVG "
|
format-prefix = "LAVG "
|
||||||
format-prefix-foreground = ${colors.foreground-alt}
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
[module/time]
|
||||||
|
type = custom/script
|
||||||
|
exec = /home/mg/dotfiles/polybar/scripte/time.sh
|
||||||
|
interval = 10
|
||||||
|
format-prefix = "DATE "
|
||||||
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
[module/df]
|
||||||
|
type = custom/script
|
||||||
|
exec = /home/mg/dotfiles/polybar/scripte/df.sh
|
||||||
|
interval = 10
|
||||||
|
format-prefix = "DISK "
|
||||||
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
[module/backlight]
|
[module/backlight]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = /usr/bin/brightnessctl get
|
exec = /usr/bin/brightnessctl get
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
awk '{print $1" "$2" "$3}' < /proc/loadavg
|
awk '{print $1}' < /proc/loadavg
|
||||||
|
|
Loading…
Reference in a new issue