From 11652691e2f75f2f487ff59cee5cc5b4650b11f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Tue, 8 Oct 2024 11:28:31 +0200 Subject: [PATCH] Suspend on pause or calculator press --- home/hyprland/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 62f3958..4d2b5c2 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -199,6 +199,8 @@ in { "$mainMod,XF86AudioRaiseVolume, exec, ${playerctl} next" "$mainMod,XF86AudioLowerVolume, exec, ${playerctl} previous" '', Print, exec, ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp -d)" - | wl-copy'' + '', Pause, exec, systemctl suspend'' + '', XF86Calculator, exec, systemctl suspend'' "$mainMod, H, exec, ${./files/vim-hypr-nav.sh} l" "$mainMod, L, exec, ${./files/vim-hypr-nav.sh} r"