After intermittent practice, the speed penalty of using an exotic custom keyboard layout has become lower. So, occassionally it's been more comfortable, or at least fun, to switch back and forth. Then realized that if switching infrequently is fun, switching even more frequently should be even more fun. Thus,
TIME1=240; TIME2=180; set -x; while [ "a" = "a" ]; do
setxkbmap -layout dvorak -option ctrl:nocaps; sleep $(perl -e "print
+ int rand shift" $TIME1);
xmodmap ~/xmodap_for_custom_layout.txt; sleep $(perl -e "print int r
+and shift" $TIME2);
done
At this point, I feel as though I've fallen into a deep, deep pit of solitary hikikomori-ness from which I may never escape.