XMC.Prompt: changing greenXPConfig to have no border

I've been mulling for a while what border color would go best with the terminal-style greenXPConfig prompt (green text on black background), since the default white was clearly unsatisfactory. I tried yellow for a while, but that didn't seem much better. Then I realized the problem was there being a border at all, and that I ought to do just: hunk ./XMonad/Prompt.hs 226 -greenXPConfig = defaultXPConfig { fgColor = "green", bgColor = "black" } +greenXPConfig = defaultXPConfig { fgColor = "green", bgColor = "black", promptBorderWidth = 0 } Simple enough. It pleases me. As far as the config archive knows, the only 2 users of greenXPConfig are myself and Adam Vogt: 20.hs:import XMonad.Prompt (greenXPConfig) 20.hs: ((m .|. shiftMask,xK_p), shellPrompt greenXPConfig) 20.hs: , ((m, xK_b), safePrompt "firefox" greenXPConfig) 20.hs: , ((m .|. shiftMask,xK_c), prompt (term ++ " -e") greenXPConfig) 20.hs: , ((m .|. shiftMask,xK_e), prompt "emacsclient -c -a emacs" greenXPConfig) 20.hs: , ((m, xK_g), promptSearch greenXPConfig google) 20.hs: , ((m, xK_t), promptSearch greenXPConfig wikipedia) 20.hs: , ((m, xK_u), promptSearch greenXPConfig isohunt) 20.hs: , ((m, xK_y), promptSearch greenXPConfig wayback) 7.hs:import XMonad.Prompt(XPConfig(font), XPrompt(showXPrompt), greenXPConfig, mkXPrompt) 7.hs:myXPConfig = greenXPConfig { font = "xft:Profont:pixelsize=15:autohint=true" } If he nor anyone else objects, in a few days I'll just push this small change. -- gwern

On 9 February 2010 08:51, Gwern Branwen
As far as the config archive knows, the only 2 users of greenXPConfig are myself and Adam Vogt:
Yes, but there is quite likely to be many other people that don't have configs submitted to the archive that use this config (I don't, but there might be some that do). As such, this is a change that they won't be expecting, etcetera, etcetera. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend." - http://www.brainyquote.com/quotes/authors/j/joan_crawford.html

On Tue, Feb 9, 2010 at 1:59 AM, Ivan Miljenovic
On 9 February 2010 08:51, Gwern Branwen
wrote: As far as the config archive knows, the only 2 users of greenXPConfig are myself and Adam Vogt:
Yes, but there is quite likely to be many other people that don't have configs submitted to the archive that use this config (I don't, but there might be some that do). As such, this is a change that they won't be expecting, etcetera, etcetera.
It removes, rather than adds, and so is that much less likely to bother anyone. Also, if they really cared, they should've uploaded their config. We can't let ourselves be held hostage by hypotheticals. Since Adam has assented, I'm making the change now. -- gwern
participants (3)
-
Adam Vogt
-
Gwern Branwen
-
Ivan Miljenovic