xmonad - fix dmenu path
This commit is contained in:
parent
f6b0e63042
commit
69feed4ce9
@ -37,7 +37,7 @@ myTerminal :: [Char]
|
|||||||
myTerminal = "urxvtc"
|
myTerminal = "urxvtc"
|
||||||
|
|
||||||
runInTerminal :: [Char] -> [Char] -> [Char]
|
runInTerminal :: [Char] -> [Char] -> [Char]
|
||||||
runInTerminal e n = myTerminal ++ " -name " ++ n ++ " -e " ++ e
|
runInTerminal e n = myTerminal ++ " -name " ++ n ++ " -e " ++ e ++ " > /dev/null 2>&1"
|
||||||
|
|
||||||
-- Whether focus follows the mouse pointer.
|
-- Whether focus follows the mouse pointer.
|
||||||
myFocusFollowsMouse :: Bool
|
myFocusFollowsMouse :: Bool
|
||||||
@ -119,7 +119,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
|||||||
[ ((modm .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
|
[ ((modm .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
|
||||||
|
|
||||||
-- launch dmenu
|
-- launch dmenu
|
||||||
, ((0, xK_Scroll_Lock), spawn "dmenu_run")
|
, ((0, xK_Scroll_Lock), spawn "PATH=\"/home/felix/.local/bin:$PATH\" dmenu_run")
|
||||||
|
|
||||||
-- close focused window
|
-- close focused window
|
||||||
, ((modm .|. shiftMask, xK_c ), kill)
|
, ((modm .|. shiftMask, xK_c ), kill)
|
||||||
|
Loading…
Reference in New Issue
Block a user