From 23fa7e2c44ddbb9124728fa8e5ab885889b1e59a Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sat, 3 Oct 2020 12:24:03 +0400 Subject: Removed autostart of tmux in zsh --- .local/bin/statusbar/disk | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to '.local') diff --git a/.local/bin/statusbar/disk b/.local/bin/statusbar/disk index 3e0f9ca..73bc07c 100755 --- a/.local/bin/statusbar/disk +++ b/.local/bin/statusbar/disk @@ -5,12 +5,8 @@ getDiskSpace () { } case $BLOCK_BUTTON in - 1) setsid -f "$TERMINAL" -e ncdu '/home/andrew' ;; + 1) setsid -f "$TERMINAL" -e ncdu "/home/$USER" ;; esac host=$(hostname -s) -if [ "$host" = "laptop1" ]; then - echo " /: $(getDiskSpace "/")" -else - echo " /home: $(getDiskSpace "/home")" -fi +echo " /home: $(getDiskSpace "/home")" -- cgit v1.2.3