diff --git a/sh/machine b/sh/machine index 9733ca7..3a77716 100755 --- a/sh/machine +++ b/sh/machine @@ -3,7 +3,7 @@ host="$(hostname)" case "$host" in - "mlg" | "think") + "mlg") exit 1 ;; "toaster") @@ -12,4 +12,7 @@ case "$host" in "fish") exit 3 ;; + "think") + exit 4 + ;; esac diff --git a/sh/statusbar b/sh/statusbar index d0f73b8..38a0ad3 100755 --- a/sh/statusbar +++ b/sh/statusbar @@ -2,6 +2,8 @@ machine -[ "$?" -eq 2 ] && - st -c statusbar -g 142x1+0+0 -e status || - st -c statusbar -g 195x1+0+0 -e status +res="$?" + +[ "$res" -eq 1 ] && st -c statusbar -g 274x1+0+0 -e status +[ "$res" -eq 2 ] && st -c statusbar -g 142x1+0+0 -e status +[ "$res" -eq 4 ] && st -c statusbar -g 195x1+0+0 -e status