diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-08-23 20:42:24 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-08-23 20:42:24 -0400 |
| commit | 14aae247af89daebd1c6a79acf51ec17d48d8eac (patch) | |
| tree | 8b8b3f00aa4b844e9be12fe31deeaf2055606c4e | |
| parent | 97bcf3b08aa36dee23d9a34ed4ff75e0ed755c1a (diff) | |
| download | misc-scripts-14aae247af89daebd1c6a79acf51ec17d48d8eac.tar.gz | |
uleft: different BG colors for left/right terms.
| -rwxr-xr-x | uleft | 24 |
1 files changed, 17 insertions, 7 deletions
@@ -25,9 +25,19 @@ #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="80x57+1920+0" +GRIGHT="80x57+2720+0" +GFULL="160x57+1920+0" + +CLEFT="-bg #000a00" +CRIGHT="-bg #0a0000" +CFULL="" murder_shell() { # kill the shell that called the shell that's running this script @@ -50,11 +60,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 |
