13 lines
197 B
Bash
Executable File
13 lines
197 B
Bash
Executable File
#!/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 $@
|