sway: fix suspend scripts

This commit is contained in:
Leonardo Eugênio 2024-02-23 12:01:24 -03:00
parent a0531650c6
commit d451db8d83
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ let
systemctl --user start swayidle.service
'';
_suspend = pkgs.writeShellScriptBin "_suspend" ''
${_lock}/bin/_lock
${pkgs.sway}/bin/swaymsg mode default
systemctl --user start swayidle.service
systemctl suspend
'';