dotfiles/.bin/OLD/nterm
2024-02-14 07:55:58 +01:00

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 $@