summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------cmdtree0
-rw-r--r--packages.nix5
-rw-r--r--xmonad.hs10
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
diff --git a/xmonad.hs b/xmonad.hs
index 4b8778e..05d3402 100644
--- a/xmonad.hs
+++ b/xmonad.hs
@@ -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