sway: fix suspend scripts
This commit is contained in:
parent
a0531650c6
commit
d451db8d83
|
@ -14,7 +14,8 @@ let
|
||||||
systemctl --user start swayidle.service
|
systemctl --user start swayidle.service
|
||||||
'';
|
'';
|
||||||
_suspend = pkgs.writeShellScriptBin "_suspend" ''
|
_suspend = pkgs.writeShellScriptBin "_suspend" ''
|
||||||
${_lock}/bin/_lock
|
${pkgs.sway}/bin/swaymsg mode default
|
||||||
|
systemctl --user start swayidle.service
|
||||||
systemctl suspend
|
systemctl suspend
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue