niri: switch lock + idle hooks to hyprlock

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-05-25 11:15:14 -07:00
parent bc3333a82a
commit c3bcf19e97
+2 -2
View File
@@ -41,7 +41,7 @@ spawn-at-startup "mako"
spawn-at-startup "awww-daemon" spawn-at-startup "awww-daemon"
spawn-at-startup "nm-applet" "--indicator" spawn-at-startup "nm-applet" "--indicator"
spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
spawn-at-startup "swayidle" "-w" "timeout" "300" "niri msg action power-off-monitors" "timeout" "600" "gtklock" "-d" "timeout" "1800" "systemctl suspend-then-hibernate" "before-sleep" "gtklock" "-d" spawn-at-startup "swayidle" "-w" "timeout" "300" "niri msg action power-off-monitors" "timeout" "600" "hyprlock" "timeout" "1800" "systemctl suspend-then-hibernate" "before-sleep" "hyprlock"
spawn-at-startup "wl-paste" "--watch" "cliphist" "store" spawn-at-startup "wl-paste" "--watch" "cliphist" "store"
spawn-at-startup "wlsunset" "-l" "49.2" "-L" "-123.1" spawn-at-startup "wlsunset" "-l" "49.2" "-L" "-123.1"
spawn-at-startup "xwayland-satellite" spawn-at-startup "xwayland-satellite"
@@ -92,7 +92,7 @@ binds {
Mod+M { move-window-to-workspace "minimized"; } Mod+M { move-window-to-workspace "minimized"; }
Mod+Shift+M { focus-workspace "minimized"; } Mod+Shift+M { focus-workspace "minimized"; }
Mod+Shift+E { spawn "gtklock" "-d"; } Mod+Shift+E { spawn "hyprlock"; }
Mod+Shift+P { spawn "powermenu"; } Mod+Shift+P { spawn "powermenu"; }
Mod+Shift+C { spawn "clipboard-picker"; } Mod+Shift+C { spawn "clipboard-picker"; }
Mod+Shift+X { quit; } Mod+Shift+X { quit; }