summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/xmonad.hs12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/xmonad.hs b/lib/xmonad.hs
index 7fcff32..945cdac 100644
--- a/lib/xmonad.hs
+++ b/lib/xmonad.hs
@@ -64,9 +64,6 @@ getColorsFromXtheme =
"dark" -> return darkTheme
_ -> return darkTheme
-nixBin :: String
-nixBin = "/home/ben/.nix-profile/bin/"
-
altMask :: KeyMask
altMask = mod1Mask
@@ -76,19 +73,18 @@ dimmer = "brightnessctl s 5%-"
insKeys :: XConfig l -> [((KeyMask, KeySym), X ())]
insKeys conf@(XConfig {modMask = modMask}) =
- [ ((modMask, xK_y), spawn $ nixBin <> "passmenu"),
+ [ ((modMask, xK_y), spawn "passmenu"),
((modMask, xK_m), spawn "cmdtree"),
((modMask, xK_o), spawn "cmdtree"),
+ ((modMask, xK_n), spawn "dswitcher"),
-- restart xmonad and display stuff via home-manager
( (modMask, xK_r),
spawn $
intercalate
" && "
- [ "$HOME/.nix-profile/bin/xmonad --recompile",
- "$HOME/.nix-profile/bin/xmonad --restart",
- "$HOME/.nix-profile/bin/xlayoutdisplay",
- "$HOME/bin/uctl restart polybar"
+ [ "xlayoutdisplay",
+ "uctl restart polybar"
]
),