From cdef3ff80cbddb77bfebc2d0b2fb732459ae7af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Sun, 3 Nov 2024 17:34:30 +0300 Subject: niri: hotkeys, window rules, lock screen timeout --- dotfiles/.config/niri/config.kdl | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'dotfiles/.config/niri') diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl index 0efeb75..f362317 100644 --- a/dotfiles/.config/niri/config.kdl +++ b/dotfiles/.config/niri/config.kdl @@ -272,6 +272,19 @@ window-rule { } } +window-rule { + match app-id="Alacritty" + match app-id="Mattermost" + + default-column-width { proportion 0.31; } +} + +window-rule { + match app-id="org.qutebrowser.qutebrowser" + + default-column-width { proportion 0.69; } +} + // Example: block out two password managers from screen capture. // (This example rule is commented out with a "/-" in front.) /-window-rule { @@ -415,8 +428,10 @@ binds { // ... // And you can also move a whole workspace to another monitor: - // Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; } - // ... + Mod+Alt+Y { move-workspace-to-monitor-left; } + Mod+Alt+U { move-workspace-to-monitor-down; } + Mod+Alt+I { move-workspace-to-monitor-up; } + Mod+Alt+O { move-workspace-to-monitor-right; } Mod+Page_Down { focus-workspace-down; } Mod+Page_Up { focus-workspace-up; } -- cgit v1.2.3