diff options
author | jeschli <jeschli@gmail.com> | 2018-06-19 09:41:29 +0200 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-06-19 09:41:29 +0200 |
commit | 8581235ff401d17f4e8571d5366ba3cc50d66d6d (patch) | |
tree | 334d3793966b90b10e14fac0ca1f139ffdec5be3 /jeschli | |
parent | 1bc4a7047c0f047fb750edf74720b6afbe00b080 (diff) |
j xmonad: +dmenu
Diffstat (limited to 'jeschli')
-rw-r--r-- | jeschli/5pkgs/simple/xmonad-jeschli/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/jeschli/5pkgs/simple/xmonad-jeschli/default.nix b/jeschli/5pkgs/simple/xmonad-jeschli/default.nix index 1f21e5bc3..48382dc37 100644 --- a/jeschli/5pkgs/simple/xmonad-jeschli/default.nix +++ b/jeschli/5pkgs/simple/xmonad-jeschli/default.nix @@ -129,13 +129,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) |