summaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/disk
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/disk')
-rwxr-xr-x.local/bin/statusbar/disk12
1 files changed, 0 insertions, 12 deletions
diff --git a/.local/bin/statusbar/disk b/.local/bin/statusbar/disk
deleted file mode 100755
index 73bc07c..0000000
--- a/.local/bin/statusbar/disk
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-getDiskSpace () {
- echo $(df -h | grep "$1$" | awk '{ print $3 "/" $2 }')
-}
-
-case $BLOCK_BUTTON in
- 1) setsid -f "$TERMINAL" -e ncdu "/home/$USER" ;;
-esac
-
-host=$(hostname -s)
-echo " /home: $(getDiskSpace "/home")"