From 4ceea1823819e0e1af02e0d570ae4835a44c6d38 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Mon, 27 Apr 2026 17:08:24 -0400 Subject: [PATCH] clean up dms --- configs/niri/dms/general.kdl | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 configs/niri/dms/general.kdl diff --git a/configs/niri/dms/general.kdl b/configs/niri/dms/general.kdl new file mode 100644 index 0000000..ae8c9ae --- /dev/null +++ b/configs/niri/dms/general.kdl @@ -0,0 +1,40 @@ +// ========================= +// DMS General Configuration +// ========================= + +// https://github.com/YaLTeR/niri/wiki/Configuration:-Input +input { + touchpad { + tap + natural-scroll + } +} + +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 +}