add support for new computer

This commit is contained in:
randomuser 2022-10-14 13:39:55 -05:00
parent ed3d5a6d25
commit 8dce7054a6
2 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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