diff options
Diffstat (limited to '.config/niri/config.kdl')
| -rw-r--r-- | .config/niri/config.kdl | 65 |
1 files changed, 47 insertions, 18 deletions
diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index a8f3d7b..d85892c 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -1,10 +1,5 @@ -include "dms/alttab.kdl" -include "dms/binds.kdl" -include "dms/cursor.kdl" -include "dms/layout.kdl" -include "dms/outputs.kdl" -include "dms/windowrules.kdl" -include "dms/wpblur.kdl" +spawn-at-startup "qs" "-c" "noctalia-shell" +spawn-at-startup "gentoo-pipewire-launcher" // https://yalter.github.io/niri/Configuration:-Input input { @@ -40,10 +35,32 @@ input { workspace-auto-back-and-forth } + +output "DP-1" { + mode "5120x1440@144.000" + scale 1 + position x=0 y=0 + focus-at-startup +} + output "DP-2" { + mode "5120x1440@144.000" + scale 1 + position x=0 y=0 focus-at-startup } +output "eDP-1" { + mode "2256x1504@60.000" + scale 1 + position x=1432 y=1440 +} + +cursor { + xcursor-theme "Adwaita" + xcursor-size 24 +} + layout { gaps 12 background-color "#2B303B" @@ -53,12 +70,12 @@ layout { preset-column-widths { proportion 0.33333 - proportion 0.5 + proportion 0.50000 proportion 0.66667 } default-column-width { - proportion 0.5 + proportion 0.33333 } focus-ring { @@ -100,7 +117,7 @@ hotkey-overlay { prefer-no-csd -screenshot-path "~/media/gfx/screen/%Y-%m-%d_%H-%M-%S.png" +screenshot-path "~/media/img/screen/%Y-%m-%d_%H-%M-%S.png" // Animation settings. // The wiki explains how to configure individual animations: @@ -119,13 +136,24 @@ animations { // Open the Firefox picture-in-picture player as floating by default. window-rule { - // This app-id regular expression will work for both: - // - host Firefox (app-id is "firefox") - // - Flatpak Firefox (app-id is "org.mozilla.firefox") match app-id=r#"firefox$"# title="^Picture-in-Picture$" open-floating true } +window-rule { + match app-id="scratch-term" + open-floating true + default-column-width { fixed 1200; } + default-window-height { fixed 800; } +} + +window-rule { + match app-id="qalculate-(gtk|qt)" + open-floating true + default-column-width { fixed 800; } + default-window-height { fixed 600; } +} + // Example: block out two password managers from screen capture. // (This example rule is commented out with a "/-" in front.) /-window-rule { @@ -138,11 +166,9 @@ window-rule { // block-out-from "screencast" } -// Example: enable rounded corners for all windows. -// (This example rule is commented out with a "/-" in front.) -/-window-rule { - geometry-corner-radius 12 - clip-to-geometry true +layer-rule { + match namespace="^noctalia-overview*" + place-within-backdrop true } binds { @@ -165,6 +191,9 @@ binds { Mod+Return hotkey-overlay-title="Terminal" { spawn "foot" } + Mod+Ctrl+Return hotkey-overlay-title="Terminal (Scratch)" { + spawn "foot" "--app-id" "scratch-term" + } Mod+Space hotkey-overlay-title="App Launcher" { spawn "fuzzel" "-I" "--log-level=warning" "--show-actions" } |