This commit is contained in:
Kopatz
2025-11-02 09:54:46 +01:00
parent 7f2ec92017
commit 7e4551ca29
3 changed files with 4 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ in
];
# after suspend, do `cec-ctl -A | grep cec0 | wc -l`, if >0, do `cec-ctl --standby --to TV`
# similar on wakeup, if present send `cec-ctl --user-control-pressed ui-cmd=power-on-function --to TV`
# doesn't work on dell for some reason (KDE)
environment.etc."systemd/system-sleep/sleep-turn-tv-off-on.sh".source =
pkgs.writeShellScript "post-sleep-turn-tv-off.sh" ''
case $1/$2 in