sway: fix suspend scripts

This commit is contained in:
Leonardo Eugênio 2024-02-23 12:01:24 -03:00
parent a0531650c6
commit d451db8d83

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