Drop client titlebars, disable hot corners
Browse files at this commit192cda958860a49763df8243ffd7b63eeb9f129eParent: ca95dd4- feat
- drop client titlebars, disable hot corners
1 changed file +18 -1
- .config/niri/config.kdl +18 -1
.config/niri/config.kdlmodified+18 -1
| @@ -8,6 +8,11 @@ | ||
| 8 | 8 | // |
| 9 | 9 | // Mod = Super. Alt is the app-launcher trigger, matching Hyprland's $my_trigger. |
| 10 | 10 | |
| 11 | +hotkey-overlay { | |
| 12 | + // Do not pop the keybind cheat sheet on login. Mod+Shift+Slash still shows it. | |
| 13 | + skip-at-startup | |
| 14 | +} | |
| 15 | + | |
| 11 | 16 | input { |
| 12 | 17 | keyboard { |
| 13 | 18 | xkb { |
| @@ -34,6 +39,18 @@ input { | ||
| 34 | 39 | // cursor to the other output does make it the focused one. |
| 35 | 40 | } |
| 36 | 41 | |
| 42 | +// Ask every client to skip its own decorations, so niri's border is the only | |
| 43 | +// frame. Kills the CSD titlebar that showed the page/document title (Hyprland | |
| 44 | +// never had one because it sends server-side decorations by default). | |
| 45 | +prefer-no-csd | |
| 46 | + | |
| 47 | +gestures { | |
| 48 | + // No overview/workspace switch when the pointer hits a screen corner. | |
| 49 | + hot-corners { | |
| 50 | + off | |
| 51 | + } | |
| 52 | +} | |
| 53 | + | |
| 37 | 54 | // Hyprland had `bitdepth 10`; niri 26.04 has no bit-depth or hdr output key. |
| 38 | 55 | output "DP-1" { |
| 39 | 56 | mode "2560x1440@180" |
| @@ -88,7 +105,7 @@ layout { | ||
| 88 | 105 | // change. niri has no `include`, so generated colors cannot live in a |
| 89 | 106 | // separate file. Keep the marker directly above it, all on one line. |
| 90 | 107 | // WALLUST-GRADIENT |
| 91 | - active-gradient from="#7B6753" to="#BC7857" angle=90 in="oklch" | |
| 108 | + active-gradient from="#4D0830" to="#7E420A" angle=90 in="oklch" | |
| 92 | 109 | |
| 93 | 110 | inactive-color "#595959aa" |
| 94 | 111 | urgent-color "#9b0000" |