// ========================= // DMS General Configuration // ========================= // https://github.com/YaLTeR/niri/wiki/Configuration:-Input input { touchpad { tap natural-scroll } // Absolute map for the built-in panel (scale 1.5). Without this, touch // can miss windows when logical/physical sizes diverge. touch { map-to-output "eDP-1" } } overview { backdrop-color "#777777" } environment { QT_QPA_PLATFORM "wayland" QT_WAYLAND_DISABLE_WINDOWDECORATION "1" NIXOS_OZONE_WL "1" DISPLAY ":0" ELECTRON_OZONE_PLATFORM_HINT "auto" } // ========================= // Screenshots // ========================= screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" // ========================= // System Events // ========================= switch-events { lid-close { spawn "notify-send" "The laptop lid is closed!"; } lid-open { spawn "notify-send" "The laptop lid is open!"; } } hotkey-overlay { skip-at-startup } gestures { dnd-edge-view-scroll { trigger-width 30 delay-ms 100 max-speed 1500 } dnd-edge-workspace-switch { trigger-height 50 delay-ms 100 max-speed 1500 } hot-corners { off } } debug { honor-xdg-activation-with-invalid-serial }