From ac8e5dfe8c2ac89ddd7d588a992fa7cadd28ba56 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 8 Dec 2024 13:42:23 +0100 Subject: [PATCH] home/hyprland: quit gracefully via uwsm --- home/programs/hyprland.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/programs/hyprland.nix b/home/programs/hyprland.nix index 240aaab..f81626b 100644 --- a/home/programs/hyprland.nix +++ b/home/programs/hyprland.nix @@ -123,7 +123,8 @@ in # https://github.com/xkbcommon/libxkbcommon/blob/master/include/xkbcommon/xkbcommon-keysyms.h bind = [ - "$mod SHIFT, Q, exit" + "$mod SHIFT, Q, exec, ${pkgs.systemd}/bin/loginctl terminate-user \"\"" + "$mod ALT SHIFT, Q, exit" "$mod, R, exec, uwsm app -- ${pkgs.rofi}/bin/rofi -show drun" "$mod, T, togglefloating"