diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2020-10-03 12:24:03 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2020-10-03 12:24:03 +0400 |
| commit | 23fa7e2c44ddbb9124728fa8e5ab885889b1e59a (patch) | |
| tree | d369fa29d6a1b065b2be39e02ce8e6bb706716ed /.local/bin | |
| parent | 3e5525c2918e5c2e08ee880e2a74415d18376060 (diff) | |
Removed autostart of tmux in zsh
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/statusbar/disk | 8 |
1 files changed, 2 insertions, 6 deletions
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")" |