sleep hack for surface

This commit is contained in:
Henrik Bakken
2025-11-06 15:42:30 +01:00
parent 8c2dcfcfa5
commit a6e27b8903
6 changed files with 36 additions and 9 deletions
+3
View File
@@ -345,8 +345,11 @@ def install_sway(overwrite: bool, reinstall: bool) -> None:
"etc/systemd/logind.conf.d/suspend.conf",
"etc/systemd/sleep.conf.d/hibernate.conf",
"etc/greetd/sway.cfg",
"lib/systemd/system-sleep/iptsd.sh",
]:
src = CUSTOM_SRC / "ROOT" / sub
if not src.exists():
continue
tgt = ROOT_TGT / sub
run(["sudo", "mkdir", "-p", str(tgt.parent)])
if tgt.exists():