diff options
author | lassulus <lass@blue.r> | 2018-06-28 00:12:19 +0200 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-06-28 00:12:19 +0200 |
commit | 3bdd093418aed75975feaf9bca02c8a5549478ea (patch) | |
tree | 900fb64a9553e5c543a27cc5d8ba986f926434a3 /jeschli/5pkgs/simple/xmonad-jeschli | |
parent | 311cb0f96ea6bc60367bff2996c239e41ef2e11e (diff) | |
parent | 4ddb9bdc663a1087e3daa318c417f3d28da2348f (diff) |
Merge remote-tracking branch 'prism/staging/jeschli'
Diffstat (limited to 'jeschli/5pkgs/simple/xmonad-jeschli')
-rw-r--r-- | jeschli/5pkgs/simple/xmonad-jeschli/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/jeschli/5pkgs/simple/xmonad-jeschli/default.nix b/jeschli/5pkgs/simple/xmonad-jeschli/default.nix index 60dbbc5..5aa3c2f 100644 --- a/jeschli/5pkgs/simple/xmonad-jeschli/default.nix +++ b/jeschli/5pkgs/simple/xmonad-jeschli/default.nix @@ -90,7 +90,7 @@ mainNoArgs = do , startupHook = do setWMName "LG3D" whenJustM (liftIO (lookupEnv "XMONAD_STARTUP_HOOK")) - (\path -> forkFile path [] Nothing) + (\path -> forkFile path [] Nothing) <+> setWMName "LG3D" , normalBorderColor = "#1c1c1c" , focusedBorderColor = "#f000b0" , handleEventHook = handleShutdownEvent @@ -130,13 +130,16 @@ spawnTermAt ws = do let env' = ("XMONAD_SPAWN_WORKSPACE", ws) : env forkFile urxvtcPath [] (Just env') + myKeys :: XConfig Layout -> Map (KeyMask, KeySym) (X ()) myKeys conf = Map.fromList $ [ ((_4 , xK_Escape ), forkFile "/run/wrappers/bin/slock" [] Nothing) , ((_4S , xK_c ), kill) - , ((_4 , xK_p ), forkFile "${pkgs.pass}/bin/passmenu" ["--type"] Nothing) - + , ((_4 , xK_p ), spawn "${pkgs.writeDash "my-dmenu" '' + export PATH=$PATH:${pkgs.dmenu}/bin + exec dmenu_run "$@" + ''}") , ((_4 , xK_x ), chooseAction spawnTermAt) , ((_4C , xK_x ), spawnRootTerm) |