summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/xmonad.hs9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/xmonad.hs b/lib/xmonad.hs
index bb182fd..2fbd6d0 100644
--- a/lib/xmonad.hs
+++ b/lib/xmonad.hs
@@ -78,14 +78,9 @@ insKeys conf@(XConfig {modMask = modMask}) =
((modMask, xK_o), spawn "rofi -sidebar-mode -show run"),
((modMask, xK_n), spawn "rofi -sidebar-mode -show window"),
- -- restart xmonad and display stuff via home-manager
+ -- refresh display via autorandr
( (modMask, xK_r),
- spawn $
- intercalate
- " && "
- [ "xlayoutdisplay",
- "uctl restart polybar"
- ]
+ spawn $ "autorandr --cycle"
),
-- lock it up