chore: added hyprland keybind for suspend

This commit is contained in:
Patrick Großmann 2023-06-03 16:56:08 +09:00
parent b47910b965
commit bb50ea0d5a
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 2 additions and 1 deletions

View file

@ -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
'';
};
}

View file

@ -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