diff options
author | Ben Sima <ben@bsima.me> | 2019-04-16 13:03:18 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-04-16 13:03:18 -0700 |
commit | c8c960726925f2b35d382d3fe244c15c22682b64 (patch) | |
tree | a0042296fadcee9b4f635aae5561d28b64267085 | |
parent | f2f3646b38a1ebfc94d065033c8b912d6198cc4f (diff) |
add cmdtree
m--------- | cmdtree | 0 | ||||
-rw-r--r-- | packages.nix | 5 | ||||
-rw-r--r-- | xmonad.hs | 10 |
3 files changed, 6 insertions, 9 deletions
diff --git a/cmdtree b/cmdtree -Subproject 5606078e8fa02462f0208d9f9cad98c7673812e +Subproject 411a4a0853c81b6c4417d21099d9de0b919d4c8 diff --git a/packages.nix b/packages.nix index 8999645..89f12f1 100644 --- a/packages.nix +++ b/packages.nix @@ -1,10 +1,13 @@ { pkgs }: with pkgs; - +let + cmdtree = import ./cmdtree { nixpkgs = pkgs; }; +in [ ag cloc +cmdtree dict dmenu entr @@ -65,14 +65,8 @@ altMask = mod1Mask insKeys :: XConfig l -> [((KeyMask, KeySym), X ())] insKeys conf@(XConfig {modMask = modMask}) = [ ((modMask, xK_y), spawn $ nixBin <> "passmenu") - -- ((modMask, xK_u), _) -- reserved for cmdtree - , ((modMask, xK_i), spawn $ nixBin <> "rofi -sidebar-mode -show window") - , ((modMask, xK_o), spawn $ "rofi -sidebar-mode -show run") - - , ((modMask, xK_m), spawn "seeme") - , ((modMask, xK_e), spawn "emacsclient -c") - - , ((modMask .|. altMask, xK_h), spawn "home-manager switch") + , ((modMask, xK_m), spawn "cmdtree") + , ((modMask, xK_o), spawn "cmdtree") -- sticky windows , ((modMask, xK_a ), windows copyToAll) -- @@ Make focused window always visible |