aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/niri
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-11-03 17:34:30 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-11-03 17:36:31 +0300
commitcdef3ff80cbddb77bfebc2d0b2fb732459ae7af3 (patch)
treed308a19363ce3a3a1159d2b6a5b626ace1122caf /dotfiles/.config/niri
parentbdc1b29dd8094b641d4ed86b0ee8f348695dd191 (diff)
downloadswayrice-cdef3ff80cbddb77bfebc2d0b2fb732459ae7af3.tar.gz
swayrice-cdef3ff80cbddb77bfebc2d0b2fb732459ae7af3.zip
niri: hotkeys, window rules, lock screen timeout
Diffstat (limited to 'dotfiles/.config/niri')
-rw-r--r--dotfiles/.config/niri/config.kdl19
1 files changed, 17 insertions, 2 deletions
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; }