diff options
Diffstat (limited to 'i3blocks')
-rwxr-xr-x | i3blocks/i3cpu.sh | 2 | ||||
-rwxr-xr-x | i3blocks/i3disk.sh | 2 | ||||
-rwxr-xr-x | i3blocks/i3mem.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/i3blocks/i3cpu.sh b/i3blocks/i3cpu.sh index 02e8159..e3d3fc6 100755 --- a/i3blocks/i3cpu.sh +++ b/i3blocks/i3cpu.sh @@ -1,7 +1,7 @@ #!/bin/sh case $BLOCK_BUTTON in - 1) notify-send -h string:x-canonical-private-synchronous:cpu -t 5000 "Highest CPU processes: + 1) dunstify -r $(dunstifyIDs.sh "cpu") -t 5000 "Highest CPU processes: $(ps axch -o cmd:18,%cpu --sort=-%cpu | sed 10q)" ;; esac diff --git a/i3blocks/i3disk.sh b/i3blocks/i3disk.sh index 7c70819..6fc5cb6 100755 --- a/i3blocks/i3disk.sh +++ b/i3blocks/i3disk.sh @@ -4,7 +4,7 @@ case $BLOCK_BUTTON in 1) root="$(df -h | grep /$ | awk '{print "/: Used "$3"/"$2" ("$5")"}')" home="$(df -h | grep /home$ | awk '{print "/home: Used "$3"/"$2" ("$5")"}')" - notify-send -h string:x-canonical-private-synchronous:disk -t 5000 "$root + dunstify -r $(dunstifyIDs.sh "disk") -t 5000 "$root $home" ;; esac diff --git a/i3blocks/i3mem.sh b/i3blocks/i3mem.sh index 7c50c72..3e1447e 100755 --- a/i3blocks/i3mem.sh +++ b/i3blocks/i3mem.sh @@ -1,7 +1,7 @@ #!/bin/sh case $BLOCK_BUTTON in - 1) notify-send -h string:x-canonical-private-synchronous:mem -t 5000 "Highest RAM processes: + 1) dunstify -r $(dunstifyIDs.sh "memory") -t 5000 "Highest RAM processes: $(ps axch -o cmd:18,%mem --sort=-%mem | sed 10q)" ;; esac |