add support for new computer
This commit is contained in:
parent
ed3d5a6d25
commit
8dce7054a6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue