From bb50ea0d5a64e53268d58bb07135029eca4cac50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gro=C3=9Fmann?= Date: Sat, 3 Jun 2023 16:56:08 +0900 Subject: [PATCH] chore: added hyprland keybind for suspend --- modules/secrets.nix | 2 +- users/common/graphical/hyprland/hyprland.conf.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/secrets.nix b/modules/secrets.nix index 635921e..97aa971 100644 --- a/modules/secrets.nix +++ b/modules/secrets.nix @@ -68,7 +68,7 @@ in { config = { nix.extraOptions = mkIf cfg.defineRageBuiltins '' plugin-files = ${pkgs.nix-plugins}/lib/nix/plugins - extra-builtins-file = ${./.}/extra-builtins.nix + extra-builtins-file = ${../nix}/extra-builtins.nix ''; }; } diff --git a/users/common/graphical/hyprland/hyprland.conf.nix b/users/common/graphical/hyprland/hyprland.conf.nix index 989f553..03aa428 100644 --- a/users/common/graphical/hyprland/hyprland.conf.nix +++ b/users/common/graphical/hyprland/hyprland.conf.nix @@ -72,6 +72,7 @@ MOD: TAGS: pkgs: bind=${MOD},b,exec,firefox bind=${MOD},t,exec,kitty + bind=${MOD} + SHIFT,l,exec,systemctl suspend -i bind=${MOD} + SHIFT,Escape,exit #fix xwayland hidpi exec-once = xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2