/insomnia

Prevent the display from being turned off or the device from going into sleep mode

Primary LanguageValaGNU General Public License v3.0GPL-3.0

Icon

Insomnia

Prevent the display from being turned off or the device from going into sleep mode

Designed for elementary OS

Installation

Dependencies

These dependencies must be present before building:

  • libgranite-dev
  • libgtk-3-dev
  • libhandy-1-dev >=1.0.0
  • meson
  • valac

Building

git clone https://github.com/manexim/insomnia.git && cd insomnia
meson build --prefix=/usr
cd build
ninja
sudo ninja install
com.github.manexim.insomnia

Deconstruct

sudo ninja uninstall

Contributing

If you want to contribute to Insomnia and make it better, your help is very welcome.

How to make a clean pull request

  • Create a personal fork of this project on GitHub.
  • Clone the fork on your local machine. Your remote repo on GitHub is called origin.
  • Create a new branch to work on. Branch from master!
  • Implement/fix your feature.
  • Push your branch to your fork on GitHub, the remote origin.
  • From your fork open a pull request in the correct branch. Target the master branch!

And last but not least: Always write your commit messages in the present tense. Your commit message should describe what the commit, when applied, does to the code – not what you did to the code.

Special thanks

Translators

Name Language
Vistaus Dutch 🇳🇱
NathanBnm French 🇫🇷
meisenzahl German 🇩🇪
JosExposito Spanish 🇪🇸

License

This project is licensed under the GNU General Public License v3.0 - see the COPYING file for details.