add support for new computer
This commit is contained in:
parent
ed3d5a6d25
commit
8dce7054a6
|
@ -3,7 +3,7 @@
|
||||||
host="$(hostname)"
|
host="$(hostname)"
|
||||||
|
|
||||||
case "$host" in
|
case "$host" in
|
||||||
"mlg" | "think")
|
"mlg")
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
"toaster")
|
"toaster")
|
||||||
|
@ -12,4 +12,7 @@ case "$host" in
|
||||||
"fish")
|
"fish")
|
||||||
exit 3
|
exit 3
|
||||||
;;
|
;;
|
||||||
|
"think")
|
||||||
|
exit 4
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
machine
|
machine
|
||||||
|
|
||||||
[ "$?" -eq 2 ] &&
|
res="$?"
|
||||||
st -c statusbar -g 142x1+0+0 -e status ||
|
|
||||||
st -c statusbar -g 195x1+0+0 -e status
|
[ "$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