From 5b99194a5de3fc7761f9a1a30b8a1cb6d8e8c43a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sun, 5 Oct 2025 18:31:09 +0200 Subject: feat(niri): custom width for zen and discord --- config/niri/config.kdl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/config/niri/config.kdl b/config/niri/config.kdl index fc9b128..aa94c2f 100644 --- a/config/niri/config.kdl +++ b/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 max-scroll-amount="90%" + focus-follows-mouse max-scroll-amount="80%" } cursor { @@ -180,6 +180,16 @@ window-rule { // SPECIFIC / ///////////// +window-rule { + match app-id="discord" + default-column-width { proportion 1.0; } +} + +window-rule { + match app-id="zen" + default-column-width { proportion 0.9; } +} + // Open the Firefox picture-in-picture player as floating by default. window-rule { // This app-id regular expression will work for both: -- cgit v1.2.3