aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-06-16 11:05:17 -0300
committerEuAndreh <eu@euandre.org>2024-06-16 11:05:17 -0300
commit6530fb0662c0c4cb02c01884dfa8971bb4dfd7c9 (patch)
treefdd7810a4ceb3873f79b4e709bb221092b8cccc5 /etc
parentetc/sh/rc: Use C17 in $CCFLAGS! (diff)
downloaddotfiles-6530fb0662c0c4cb02c01884dfa8971bb4dfd7c9.tar.gz
dotfiles-6530fb0662c0c4cb02c01884dfa8971bb4dfd7c9.tar.xz
etc/xmonad/xmonad.hs: Add keybindings for switching monitors setup
Diffstat (limited to 'etc')
-rw-r--r--etc/xmonad/xmonad.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/xmonad/xmonad.hs b/etc/xmonad/xmonad.hs
index 8307742..77729da 100644
--- a/etc/xmonad/xmonad.hs
+++ b/etc/xmonad/xmonad.hs
@@ -57,6 +57,10 @@ myKeyPBindings =
, ("<Print>", spawn "shot")
, ("M-<Print>", spawn "shot -m")
+ -- Laptop setup: single monitor or multiple monitors
+ , ("C-M-1", spawn "with-one-monitor")
+ , ("C-M-2", spawn "with-two-monitors")
+
-- Stop floating
, ("M-S-<Space>", withFocused $ windows . XMonad.StackSet.sink)