normalize config for niri
This commit is contained in:
1 parent
e32d61fb03
commit
7c2fccf064
32 files changed
+27
-5
No files matched your search
@@ -0,0 +1,68 @@
|
||||
// =========================
|
||||
// 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
|
||||
}
|
||||
Reference in new issue
Block a user