mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
updated zfs waybar module
This commit is contained in:
parent
748e8bc8a2
commit
c3129054a7
@ -73,7 +73,7 @@
|
||||
|
||||
"modules-left": ["tray", "custom/spotify"],
|
||||
"modules-center": ["network#speed"],
|
||||
"modules-right": ["temperature", "custom/storage", "cpu", "memory" ],
|
||||
"modules-right": ["custom/zfs-trim", "custom/zfs-scrub", "temperature", "custom/storage", "cpu", "memory" ],
|
||||
"custom/spotify": {
|
||||
"format": "<span foreground='#929292'></span> {}",
|
||||
"interval": 1,
|
||||
@ -97,6 +97,18 @@
|
||||
"interval": 60,
|
||||
"exec": "~/.config/waybar/modules/storage.sh /"
|
||||
},
|
||||
"custom/zfs-trim": {
|
||||
"format": "<span foreground='#ff5c57'></span> trimming...",
|
||||
"interval": 5,
|
||||
"exec": "true",
|
||||
"exec-if" : "systemctl is-active --quiet zfs-trim"
|
||||
},
|
||||
"custom/zfs-scrub": {
|
||||
"format": "<span foreground='#ff5c57'></span> scrubbing...",
|
||||
"interval": 5,
|
||||
"exec": "true",
|
||||
"exec-if" : "systemctl is-active --quiet zfs-scrub"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 3,
|
||||
"format": "<span foreground='#929292'></span> {usage}%"
|
||||
|
@ -54,7 +54,7 @@ window {
|
||||
color: @alert;
|
||||
}
|
||||
|
||||
#mode, #battery, #cpu, #memory, #network, #pulseaudio, #backlight, #custom-pkg, #custom-storage, #custom-spotify, #custom-weather, #custom-vpn, #temperature {
|
||||
#mode, #battery, #cpu, #memory, #network, #pulseaudio, #backlight, #custom-pkg, #custom-storage, #custom-spotify, #custom-weather, #custom-vpn, #custrom-zfs-trim, #custom-zfs-scrub, #temperature {
|
||||
margin: 0px 6px 0px 10px;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user