diff options
author | EuAndreh <eu@euandre.org> | 2023-02-17 09:15:58 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-02-17 09:16:01 -0300 |
commit | 29252cd3f73a9a5c0e233a71ab4e53a8f46e4576 (patch) | |
tree | b0ebfc3bdb3fa146038e0130fa37ec48dd5ccc37 /etc | |
parent | bin/menu: Show notification when emoji is copied to clipboard (diff) | |
download | dotfiles-29252cd3f73a9a5c0e233a71ab4e53a8f46e4576.tar.gz dotfiles-29252cd3f73a9a5c0e233a71ab4e53a8f46e4576.tar.xz |
etc/xmonad/xmonad.hs: Add missing utility keybindings
M-S-<Space> in xmonad was set to mimic i3's floating toggle behaviour,
but only the part of switching back from floating to tiling. The tiling
to floating change still remains as "mod-<mouse-click>".
This had to be done because the default keybinding for that action for
xmonad is mod-t, which is being overriden and set to "wms date".
Diffstat (limited to 'etc')
-rw-r--r-- | etc/xmonad/xmonad.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/xmonad/xmonad.hs b/etc/xmonad/xmonad.hs index c80e006..d7e45ac 100644 --- a/etc/xmonad/xmonad.hs +++ b/etc/xmonad/xmonad.hs @@ -8,6 +8,7 @@ import XMonad.Hooks.ManageHelpers import XMonad.Util.Run(spawnPipe) import XMonad.Layout.ResizableTile import XMonad.Layout.ResizableTile(MirrorResize(MirrorShrink, MirrorExpand)) +import XMonad.StackSet main :: IO () main = do @@ -47,6 +48,10 @@ myKeyPBindings = , ("<F7>", spawn "brightness -1") , ("<F8>", spawn "brightness +1") + , ("M-c", spawn "mate-calc") + , ("M-u", spawn "wms uuid") + , ("M-t", spawn "wms date") + , ("M-m", spawn "wms clear-notification") , ("M-p", spawn "menu bin") , ("M-o", spawn "menu emoji") , ("M-v", spawn "menu clipboard") @@ -57,6 +62,9 @@ myKeyPBindings = , ("<Print>", spawn "shot") , ("M-<Print>", spawn "shot -m") + -- Stop floating + , ("M-S-<Space>", withFocused $ windows . XMonad.StackSet.sink) + -- Lock screen , ("C-M-l", spawn "dm-tool switch-to-greeter") |