Skip to content

bowbored/powermanage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

powermanage - bash-script

Little script that I use for my power management. It opens an urxvt-Terminal (can be changed) with a bash-script that asks if you want to power off, reboot or hibernate.

Example Image of the menu

Dependencies

You will need hibernate-script and urxvt. You can install it with these commands on gentoo:

sudo emerge --ask sys-power/hibernate-script
sudo emerge --ask x11-terms/rxvt-unicode

How to use it

Both Files (power and powermanage) have to be executable.

chmod +x power
chmod +x powermanage

Copy the files to /usr/bin/

sudo cp power /usr/bin/
sudo cp powermanage /usr/bin/

Then you can assign "powermanage" to a shortcut. I used mod+0 and wrote it into my i3 config file. How you can do this depends on your Distro (or wm).

About

Just a little script I wrote for learning things

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages