pinwheel: Lock screen before suspending system

This commit is contained in:
Alexander Heldt
2023-10-16 15:50:24 +02:00
parent 611a1dbb12
commit b3a81a07c4
2 changed files with 1 additions and 2 deletions

View File

@@ -84,8 +84,6 @@
'';
in
select ++ move ++ [
"$mod SHIFT, x, exec, systemctl suspend"
"$mod, ESCAPE, killactive"
"$mod, f, fullscreen, 1"

View File

@@ -14,6 +14,7 @@
wayland.windowManager.hyprland = {
settings = {
bind = [
"$mod SHIFT, x, exec, ${pkgs.swaylock}/bin/swaylock -f && systemctl suspend"
"$mod, x, exec, ${pkgs.playerctl}/bin/playerctl -p spotify pause; ${pkgs.swaylock}/bin/swaylock"
];
};