The simplest rotation of colour schemes I can see is just rotating those command line args... so not especially elegant, but this should work:
#!/bin/bash
#define some theme sequence
theme[0]="-bg #ff0000"
theme[1]="-bg #00ff00"
theme[2]="-bg #0000ff"
#check for last used theme id
if [ ! -f "/tmp/termtheme" ] ; then
theme_id=0 #defaulting to first theme
else
theme_id=`cat /tmp/termtheme` #load previous
theme_id=`expr ${theme_id} + 1` #increment it
theme_id=`expr ${theme_id} % ${#theme[@]}` #don't exceed max
fi
#store theme id we're about to use
echo "${theme_id}" > /tmp/termtheme
#launch the terminal
rxvt-unicode ${theme[${theme_id}]}
Just expand the theme strings at the top with the complete set of args that you want to change from their defaults in the given theme. They're all pretty obvious in that man page linked previously (-bg, -fg, --color1, --color2, etc.).
urxvt can certainly do the margin thing, set along these lines in .Xdefaults/.Xresources:
URxvt.internalBorder: 1
Value is the pixel size of margin, max allowed appears to be 100 according to man page.
Edit: Also it just occured to me that you can redefine the entire colourscheme via arguments when launching urxvt, so you could potentially launch your terminals via a shell script to randomize or rotate colour schemes to get your varied background colours unrelated to whatever defaults you've listed in your .Xdefaults/.Xresources.
It's fairly difficult to judge font rendering with that level of jpeg compression...
The simplest rotation of colour schemes I can see is just rotating those command line args... so not especially elegant, but this should work:
Just expand the theme strings at the top with the complete set of args that you want to change from their defaults in the given theme. They're all pretty obvious in that man page linked previously (-bg, -fg, --color1, --color2, etc.).
urxvt can certainly do the margin thing, set along these lines in .Xdefaults/.Xresources:
Value is the pixel size of margin, max allowed appears to be 100 according to man page.
Edit: Also it just occured to me that you can redefine the entire colourscheme via arguments when launching urxvt, so you could potentially launch your terminals via a shell script to randomize or rotate colour schemes to get your varied background colours unrelated to whatever defaults you've listed in your .Xdefaults/.Xresources.
I've been using Feh for wallpaper management.
Along those lines I've been using playerctl for a while. It pretty cleanly wraps a simple CLI around any players offering an mpris dbus interface.