waybar: add backup disk module
This commit is contained in:
parent
f140e4aa2c
commit
932046387c
2 changed files with 13 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
"disk",
|
"disk",
|
||||||
|
"custom/diskBackup",
|
||||||
"temperature",
|
"temperature",
|
||||||
"backlight",
|
"backlight",
|
||||||
"battery",
|
"battery",
|
||||||
|
@ -233,5 +234,13 @@
|
||||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||||
"on-click-right": "swaync-client -d -sw",
|
"on-click-right": "swaync-client -d -sw",
|
||||||
"escape": true
|
"escape": true
|
||||||
|
},
|
||||||
|
"custom/diskBackup": {
|
||||||
|
"format": "bak {}",
|
||||||
|
"exec": "df -h /run/media/thomas/archbish_backups | awk 'NR==2{print $5}'",
|
||||||
|
"interval": 60,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,7 @@ button {
|
||||||
#cpu,
|
#cpu,
|
||||||
#memory,
|
#memory,
|
||||||
#disk,
|
#disk,
|
||||||
|
#custom-diskBackup,
|
||||||
#temperature,
|
#temperature,
|
||||||
#backlight,
|
#backlight,
|
||||||
#network,
|
#network,
|
||||||
|
@ -184,7 +185,8 @@ button {
|
||||||
/* color: #282828; */
|
/* color: #282828; */
|
||||||
}
|
}
|
||||||
|
|
||||||
#disk {
|
#disk,
|
||||||
|
#custom-diskBackup {
|
||||||
color: #d79921;
|
color: #d79921;
|
||||||
/* color: #282828; */
|
/* color: #282828; */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue