fix start mabox-terminal
parent
fd59eaa7d8
commit
6159615137
|
@ -10,7 +10,7 @@ if [ -z "${ID}" ]; then
|
||||||
LEFT=$[$(wmctrl -d|grep "*"|awk '{print $4}'|cut -d'x' -f1)/8]
|
LEFT=$[$(wmctrl -d|grep "*"|awk '{print $4}'|cut -d'x' -f1)/8]
|
||||||
HEIGHT=$[$(wmctrl -d|grep "*"|awk '{print $4}'|cut -d'x' -f2)/2]
|
HEIGHT=$[$(wmctrl -d|grep "*"|awk '{print $4}'|cut -d'x' -f2)/2]
|
||||||
WIDTH=$[${LEFT}*6]
|
WIDTH=$[${LEFT}*6]
|
||||||
terminator -T mabox-terminal -b --geometry "${WIDTH}x${HEIGHT}+${LEFT}+${TOP}" -x "neofetch;/bin/bash"
|
terminator -T mabox-terminal -b --geometry "${WIDTH}x${HEIGHT}+${LEFT}+${TOP}"
|
||||||
else
|
else
|
||||||
ID_DEC=$((${ID}))
|
ID_DEC=$((${ID}))
|
||||||
ACTIVE_WIN_DEC=$(xdotool getactivewindow)
|
ACTIVE_WIN_DEC=$(xdotool getactivewindow)
|
||||||
|
|
Loading…
Reference in New Issue