diff options
Diffstat (limited to 'i3blocks/i3disk.sh')
-rwxr-xr-x | i3blocks/i3disk.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/i3blocks/i3disk.sh b/i3blocks/i3disk.sh index 8ffec99..2d994af 100755 --- a/i3blocks/i3disk.sh +++ b/i3blocks/i3disk.sh @@ -1,9 +1,7 @@ #!/bin/sh case $BLOCK_BUTTON in - 1) notify-send "$(df -h | grep ^/dev/sda6 | awk '{print "/: Used "$3"/"$2" ("$5")"}')" -# 2) # Middle click -# 3) # Right click + 1) notify-send -h string:x-canonical-private-synchronous:disk -t 3000 "$(df -h | grep ^/dev/sda6 | awk '{print "/: Used "$3"/"$2" ("$5")"}')" esac df -h | grep ^/dev/sda6 | awk '{print $4"/"$2}' |