mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 06:08:11 +09:00
feat
This commit is contained in:
@@ -45,7 +45,7 @@ let
|
||||
'';
|
||||
|
||||
suspend = pkgs.writeShellScript "swayidle-suspend" ''
|
||||
if ${onBattery} || ${isLocked}; then
|
||||
if ${onBattery}; then
|
||||
exec ${systemctl} suspend
|
||||
fi
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user