Skip to content

prabhy619/Caffeine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Caffeine

A bash script to enable caffeine mode.
Use this tool when you don't want to let the device to sleep while you are gone for some time
It works by simulating a left click (using xdotool) after every 10 minutes.


Steps to install(temp)
  1. Copy the caffeine file to your Desktop(or any other folder)
  2. Go to that folder via terminal.
  3. Type in
    chmod +x caffeine
  4. Install xdotool
Thats it !!
To run it
  • Go to Desktop via terminal
  • Enter
    ./caffeine
  • Enter the number of minutes you want the computer to remain awake

  • (Place caffeine in /usr/local/bin instead of placing it in the desktop and following step 3 to be able to launch it from anywhere (that is no going to any specific folder to run it))

About

A bash script to enable caffeine mode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages