diff options
author | Adrian Kummerlaender | 2025-07-27 21:52:04 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2025-07-27 21:52:04 +0200 |
commit | dd8558457c5c614c4091f877d9b83cf7222f5c3c (patch) | |
tree | 866bd20e1be9ddfb319e4b97002837e9644fe1b7 /gui/conf/niri.kdl | |
parent | e4142c9202ac39e0cd6cd59a54db5c702bfd1373 (diff) | |
download | nixos_home-wayland.tar nixos_home-wayland.tar.gz nixos_home-wayland.tar.bz2 nixos_home-wayland.tar.lz nixos_home-wayland.tar.xz nixos_home-wayland.tar.zst nixos_home-wayland.zip |
desktop: Add dunst, setup xwaylandwayland
Diffstat (limited to 'gui/conf/niri.kdl')
-rw-r--r-- | gui/conf/niri.kdl | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/gui/conf/niri.kdl b/gui/conf/niri.kdl index b40c444..d20cb61 100644 --- a/gui/conf/niri.kdl +++ b/gui/conf/niri.kdl @@ -1,16 +1,12 @@ -// This config is in the KDL format: https://kdl.dev -// "/-" comments out the following node. -// Check the wiki for a full description of the configuration: -// https://github.com/YaLTeR/niri/wiki/Configuration:-Introduction +spawn-at-startup "xwayland-satellite" environment { QT_QPA_PLATFORM "wayland" - DISPLAY null + DISPLAY ":0" } -// Input device configuration. -// Find the full list of options on the wiki: -// https://github.com/YaLTeR/niri/wiki/Configuration:-Input +prefer-no-csd + input { keyboard { xkb { @@ -18,10 +14,7 @@ input { } } - // Next sections include libinput settings. - // Omitting settings disables them, or leaves them at their default values. touchpad { - // off tap // dwt // dwtp @@ -36,10 +29,6 @@ input { mouse { // off - // natural-scroll - // accel-speed 0.2 - // accel-profile "flat" - // scroll-method "no-scroll" } trackpoint { @@ -51,13 +40,6 @@ input { // scroll-button 273 // middle-emulation } - - // Uncomment this to make the mouse warp to the center of newly focused windows. - // warp-mouse-to-focus - - // 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="0%" } // You can configure outputs by their name, which you can find @@ -129,10 +111,6 @@ layout { } } -//spawn-at-startup "waybar" - -prefer-no-csd - screenshot-path "~/screenshot_%Y_%m_%d_%H_%M_%S.png" // Animation settings. @@ -162,9 +140,6 @@ window-rule { // 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 } |