[XMonad] Make rofi command case insensitive

This commit is contained in:
Ivan Malison 2016-10-21 15:44:47 -07:00
parent 6674321419
commit 43b512abb2
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -23,14 +23,13 @@ import XMonad.Util.NamedWindows (getName)
myDecorateName ws w = do
name <- show <$> getName w
return $ name -- ++ " [" ++ W.tag ws ++ "]"
return $ name ++ " [" ++ W.tag ws ++ "]"
myWindowBringerConfig = WindowBringerConfig{ menuCommand = "rofi"
, menuArgs = ["-dmenu"]
myWindowBringerConfig = WindowBringerConfig { menuCommand = "rofi"
, menuArgs = ["-dmenu", "-i"]
, windowTitler = myDecorateName
}
main = xmonad $ ewmh $ pagerHints def
{ modMask = mod4Mask
, terminal = "urxvt"