From 05e7e6939c56bf068bcfec79f521acd03f01406e Mon Sep 17 00:00:00 2001 From: ulve Date: Fri, 19 Jun 2026 23:34:49 +0200 Subject: [PATCH] remove swayidle, noctalia handles idle --- config/niri/config.kdl | 5 ++++- niri.nix | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/niri/config.kdl b/config/niri/config.kdl index cbfe09d..7572513 100644 --- a/config/niri/config.kdl +++ b/config/niri/config.kdl @@ -65,7 +65,7 @@ spawn-at-startup "lxqt-policykit-agent" spawn-at-startup "sh" "-c" "sleep 1 && ~/.local/bin/wallpaper.sh" // spawn-at-startup "waybar" spawn-at-startup "noctalia-shell" -spawn-at-startup "swayidle" "-w" "timeout" "300" "swaylock -f -c 0a0a0a && ~/.local/bin/wallpaper.sh" "timeout" "600" "niri msg action power-off-monitors; wpctl set-mute @DEFAULT_AUDIO_SINK@ 1" "resume" "niri msg action power-on-monitors; wpctl set-mute @DEFAULT_AUDIO_SINK@ 0" "before-sleep" "swaylock -f -c 0a0a0a" + binds { Mod+Return { spawn "footclient"; } @@ -133,3 +133,6 @@ binds { Mod+Shift+S hotkey-overlay-title="Screenshot region to clipboard" { spawn "sh" "-c" "grim -l 0 -g \"$(slurp)\" - | wl-copy"; } Mod+Alt+S hotkey-overlay-title="Screenshot region → annotate → save" { spawn "sh" "-c" "mkdir -p ~/Pictures/Screenshots && grim -l 0 -g \"$(slurp)\" - | satty --filename - --output-filename ~/Pictures/Screenshots/$(date +\"%Y-%m-%d_%H-%M-%S\").png"; } } + +include "./noctalia.kdl" + diff --git a/niri.nix b/niri.nix index 256fec7..530eddf 100644 --- a/niri.nix +++ b/niri.nix @@ -66,7 +66,6 @@ in satty wlogout swaylock - swayidle brightnessctl awww lxqt.lxqt-policykit