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

@@ -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"
];
};