mirror of
https://gitlab.com/linuxstuff/dotfiles.git
synced 2026-08-15 12:59:28 +02:00
disk shortcuts
This commit is contained in:
@@ -403,7 +403,11 @@ type = custom/script
|
|||||||
format = | dsk: <label>
|
format = | dsk: <label>
|
||||||
interval = 10
|
interval = 10
|
||||||
exec = echo $(df -h / | tail +2 | awk -F ' ' '{print $3 " / " $2 " (" $5 ")"}' | tr -d 'G')
|
exec = echo $(df -h / | tail +2 | awk -F ' ' '{print $3 " / " $2 " (" $5 ")"}' | tr -d 'G')
|
||||||
click-left = "setsid alacritty -e sh -c 'ncdu --exclude /data /'"
|
|
||||||
|
click-left = "setsid alacritty -e sh -c 'echo Scanning disk... ; echo ; df -h; echo ; read -p Done!'"
|
||||||
|
click-right = "setsid alacritty -e sh -c 'echo Scanning main disk ; echo ; ncdu --exclude /data / ; echo ; read -p Done!'"
|
||||||
|
click-middle = "setsid alacritty -e sh -c 'echo Scanning full disk... ; echo ; sudo ncdu / ; echo ; read -p Done!'"
|
||||||
|
|
||||||
|
|
||||||
[module/disk_short_yoga3]
|
[module/disk_short_yoga3]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
|
|||||||
Reference in New Issue
Block a user