dotfiles/root/etc/systemd/system/power-connected.target

6 lines
131 B
SYSTEMD

Description=Power adapter is connected (charger plugged)
Conflicts=power-disconnected.target
[Install]
WantedBy=multi-user.target