11 lines
183 B
Bash
Executable File
11 lines
183 B
Bash
Executable File
#!/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
|