aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-01-09 11:21:19 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-01-09 11:21:19 +0300
commit000b98c727c229954600a278bbe692e26d9acd65 (patch)
tree24c455069d0cde33cece1747627dfa616a1ee591 /dotfiles/.config
parent85a075c8f36a651196dc051ea8a825ccc82d09d9 (diff)
downloadswayrice-000b98c727c229954600a278bbe692e26d9acd65.tar.gz
swayrice-000b98c727c229954600a278bbe692e26d9acd65.zip
niri: floating windows keybinds
Diffstat (limited to 'dotfiles/.config')
-rw-r--r--dotfiles/.config/niri/config.kdl6
1 files changed, 5 insertions, 1 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl
index ca9a410..b4f86e3 100644
--- a/dotfiles/.config/niri/config.kdl
+++ b/dotfiles/.config/niri/config.kdl
@@ -53,7 +53,7 @@ input {
// Focus windows and outputs automatically when moving the mouse into them.
// Setting max-scroll-amount="0%" makes it work only on windows already fully on screen.
- focus-follows-mouse
+ // focus-follows-mouse
// focus-follows-mouse max-scroll-amount="0%"
}
@@ -560,6 +560,10 @@ binds {
Mod+Shift+Minus { set-window-height "-10%"; }
Mod+Shift+Equal { set-window-height "+10%"; }
+ // Switch between floating and tiling.
+ Mod+Shift+Space { toggle-window-floating; }
+ Mod+Space { switch-focus-between-floating-and-tiling; }
+
// Actions to switch layouts.
// Note: if you uncomment these, make sure you do NOT have
// a matching layout switch hotkey configured in xkb options above.