pinwheel: Lock screen before suspending system

This commit is contained in:
Alexander Heldt committed 2023-10-16 15:51:10 +02:00
1 parent 611a1dbb12
commit b3a81a07c4
2 files changed
+1 -2

No files matched your search

@@ -84,8 +84,6 @@
'';
in
select ++ move ++ [
"$mod SHIFT, x, exec, systemctl suspend"
"$mod, ESCAPE, killactive"
"$mod, f, fullscreen, 1"
@@ -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"
];
};