aboutsummaryrefslogtreecommitdiff
path: root/gui/conf/niri.kdl
diff options
context:
space:
mode:
authorAdrian Kummerlaender2025-07-27 21:52:04 +0200
committerAdrian Kummerlaender2025-07-27 21:52:04 +0200
commitdd8558457c5c614c4091f877d9b83cf7222f5c3c (patch)
tree866bd20e1be9ddfb319e4b97002837e9644fe1b7 /gui/conf/niri.kdl
parente4142c9202ac39e0cd6cd59a54db5c702bfd1373 (diff)
downloadnixos_home-dd8558457c5c614c4091f877d9b83cf7222f5c3c.tar
nixos_home-dd8558457c5c614c4091f877d9b83cf7222f5c3c.tar.gz
nixos_home-dd8558457c5c614c4091f877d9b83cf7222f5c3c.tar.bz2
nixos_home-dd8558457c5c614c4091f877d9b83cf7222f5c3c.tar.lz
nixos_home-dd8558457c5c614c4091f877d9b83cf7222f5c3c.tar.xz
nixos_home-dd8558457c5c614c4091f877d9b83cf7222f5c3c.tar.zst
nixos_home-dd8558457c5c614c4091f877d9b83cf7222f5c3c.zip
desktop: Add dunst, setup xwaylandwayland
Diffstat (limited to 'gui/conf/niri.kdl')
-rw-r--r--gui/conf/niri.kdl33
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
}