Skip to content

MrPotatoBobx/battery-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

battery prompt

A simple prompt when your battery is 10% there are probably better alternatives to this but if you'd like to use this feel free to do so.

preview

installation

Make sure you have python3 and pip3 installed, you can install pip3 via sudo apt install python3-pip and install acpi and xdotool via sudo apt install acpi xdotool

clone the repo via git clone https://github.com/MrPotatoBobx/battery-prompt

then run pip3 install PyGObject

after that you can run it via python3 ~/battery-prompt/battery-calculate.py

I reccomend running at the start of your desktop enviorment/ window manager session here i have linked guides to run commands at start on some desktop enviorments and window managers:

i3: https://www.reddit.com/r/archlinux/comments/2m4qni/autostart_programs_with_i3_upon_login/ (first comment)

xfce: https://superuser.com/questions/27854/starting-a-script-on-xfce-login-and-logout

kde: https://www.addictivetips.com/ubuntu-linux-tips/autostart-programs-on-kde-plasma-5/

gnome: https://help.ubuntu.com/stable/ubuntu-help/startup-applications.html.en

About

A simple prompt when your battery is 10%

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages