Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Create the script file:
Paste this content:
Save and exit (
Ctrl+O
, Enter,Ctrl+X
), then make it executable:chmod +x ~/.scripts/check_battery.sh
Create systemd user timer:
Add the following:
Then create the service file:
nano ~/.config/systemd/user/battery-check.service
Add:
Enable and start the timer:
systemctl --user daemon-reload systemctl --user enable --now battery-check.timer
🧪 Optional Enhancements
swaync
for a better visual experience.canberra-gtk-play
orpaplay
.💡 Why This Should Be Included
Beta Was this translation helpful? Give feedback.
All reactions