battmon/battery-status-toggle.service.template

11 lines
183 B
Plaintext
Raw Permalink Normal View History

2022-10-21 15:52:43 +02:00
#!/bin/bash
cat > battery-status-toggle.service << EOU
[Unit]
Description=Notify when battery status changes
[Service]
Type=oneshot
ExecStart=${PREFIX}/battery-status-toggle.sh
EOU