chore[work]: improve suspend behaviour

This commit is contained in:
Leon Schwarzäugl 2025-10-21 13:13:27 +02:00
parent 9da6bd15ab
commit e07b3c2b6e
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
9 changed files with 221 additions and 75 deletions

View file

@ -208,6 +208,7 @@ in
};
};
# ACTION=="remove", ENV{PRODUCT}=="3/1050/407/110", RUN+="${pkgs.kanshi}/bin/kanshictl switch laptoponly"
udev.extraRules = ''
# lock screen when yubikey removed
ACTION=="remove", ENV{PRODUCT}=="3/1050/407/110", RUN+="${pkgs.systemd}/bin/systemctl suspend"