13 lines
197 B
Plaintext
13 lines
197 B
Plaintext
|
#!/bin/sh
|
||
|
. $HOME/.bin/_config
|
||
|
|
||
|
RES=$(xrandr | grep "*+" | awk '{print $1}')
|
||
|
RESH=${RES%x*}
|
||
|
RESV=${RES#*x}
|
||
|
|
||
|
GAP=$(( RESH / 12 ))
|
||
|
H=$(( RESH - 2 * GAP ))
|
||
|
V=$(( RESV - 2 * GAP ))
|
||
|
|
||
|
$NTERM -c nterm $@
|