diff options
| author | William Hergès <william@herges.fr> | 2025-10-05 18:31:09 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-10-05 18:31:09 +0200 |
| commit | 5b99194a5de3fc7761f9a1a30b8a1cb6d8e8c43a (patch) | |
| tree | c3db27422b7563b3bb0c313750a6a77c354f81a8 /config/niri/config.kdl | |
| parent | a76b526269c32f2d987133c2fbd34e959b09fd0f (diff) | |
feat(niri): custom width for zen and discord
Diffstat (limited to 'config/niri/config.kdl')
| -rw-r--r-- | config/niri/config.kdl | 12 |
1 files changed, 11 insertions, 1 deletions
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: |
