rcxterm - a colorful terminal emulator script that goes great with xmonad.

Tired of all your terminals having the same color scheme? I wrote program that fixes that. #!/usr/bin/python import random import os available_colors = ["magenta","yellow", "white", "green", "cyan", "orange","red"] fontsize = 22 font = "terminus" color = random.choice(available_colors) font = "-*-" + font + "-*-*-*-*-" + str(fontsize) + "-*-*-*-*-*-*-*" command = 'xterm -font \"' + font + '\" -bg black' + ' -fg ' + color os.system(command) save that as /usr/bin/rcxterm and make it executable. Now set terminal="rcxterm" in xmonad.hs. Now, every time you open an XTerm, it gets assigned a random foreground color from the list. Here's a screenshot: http://i43.tinypic.com/334us1e.png You may have to change font = "terminus" to a font name you have on your system. The xfontsel program can find one for you. Also, I'm pretty sure there's a way to write this script in Haskell, but I only know Python. enjoy!
participants (1)
-
Yanom Mobis