From 000b98c727c229954600a278bbe692e26d9acd65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 9 Jan 2025 11:21:19 +0300 Subject: niri: floating windows keybinds --- dotfiles/.config/niri/config.kdl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dotfiles/.config') 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. -- cgit v1.2.3