diff options
Diffstat (limited to 'uleft')
| -rwxr-xr-x | uleft | 25 |
1 files changed, 18 insertions, 7 deletions
@@ -25,9 +25,20 @@ #GLEFT="104x51+1280+0" #GRIGHT="101x51+2222+0" #GFULL="205x51-71+0" -GLEFT="101x49+1280+0" -GRIGHT="90x49+2295+0" -GFULL="191x49+1280+0" + +# Before my Dell widescreen monitor died: +#GLEFT="101x49+1280+0" +#GRIGHT="90x49+2295+0" +#GFULL="191x49+1280+0" + +GLEFT="80x54+1919+0" +GRIGHT="80x54+2720+0" +GFULL="160x54+1920+0" + +# try #100010 for right (dark purple) +CLEFT="-bg #000a00 --color0 #000a00" +CRIGHT="-bg #100010 --color0 #100010" +CFULL="" murder_shell() { # kill the shell that called the shell that's running this script @@ -50,11 +61,11 @@ get_next_geom() { case "$0" in *kill*) murder_shell ;; - *left*) G=$GLEFT ;; - *full*) G=$GFULL ;; + *left*) G=$GLEFT; C="$CLEFT" ;; + *full*) G=$GFULL; C="$CFULL" ;; *next*) G=$( get_next_geom ) ;; - *) G=$GRIGHT ;; + *) G=$GRIGHT; C="$CRIGHT" ;; esac -urxvt -g "$G" "$@" -e sh -c "while true; do bash -login; done" &>/dev/null & +urxvt -g "$G" $C "$@" -e sh -c "while true; do bash -login; done" &>/dev/null & disown |
