Giter Site home page Giter Site logo

alexis-opolka / gnome-shell-extension-caffeine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eonpatapon/gnome-shell-extension-caffeine

0.0 0.0 0.0 2.24 MB

Disable screensaver and auto suspend

License: GNU General Public License v2.0

Shell 0.54% JavaScript 98.16% Nix 0.17% Makefile 1.12%

gnome-shell-extension-caffeine's Introduction

gnome-shell-extension-caffeine

License GitHub release (latest by date)

Enable / disable auto suspend with quick setting toggle.

Quick Toggle Caffeine

Version

This extension supports GNOME Shell 3.4 -> 45

Branch Version Compatible GNOME version
master 50 GNOME 45
gnome-shell-43-44 49 GNOME 43 -> 44
gnome-shell-40-42 42 GNOME 40 -> 42
gnome-shell-3.36-3.38 37 GNOME 3.36 -> 3.38
gnome-shell-3.32-3.34 33 GNOME 3.32 -> 3.34
gnome-shell-3.10-3.30 - GNOME 3.10 -> 3.30
gnome-shell-before-3.10 - GNOME 3.4 -> 3.8

Installation From source

make build
make install
  • Restart the shell
  • Enable the extension

Screenshots & features

Scroll Indicator Icon

ScreenshotScreenshot

You can scroll on the indicator icon to enable / disable auto suspend:

  • Scroll up -> Filled cup: Caffeine enabled
  • Scroll down -> Empty cup: Caffeine disabled

Note: the option "Show status indicator" must be set on "always" (see below).

Notifications

Screenshot Screenshot

Timer option

This option enable Caffeine for a given amount of time (similar to Caffeine in LineageOS).

ScreenshotScreenshot

Preferences

Preferences

CLI

  • Get current state:
    gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas/ get org.gnome.shell.extensions.caffeine toggle-state
  • Enable Caffeine:
    gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas/ set org.gnome.shell.extensions.caffeine toggle-state true
  • Disable Caffeine:
    gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas/ set org.gnome.shell.extensions.caffeine toggle-state false

--schemadir โ€” path to the extension schemas directory. It may be different on your system.

gnome-shell-extension-caffeine's People

Contributors

eonpatapon avatar pakaoraki avatar stuarthayhurst avatar kaechele avatar ckotte avatar smcv avatar dffischer avatar websnke avatar juxuanu avatar osmancoskun avatar hosiet avatar ralgo avatar dapigguy avatar marcioalmada avatar big-ant avatar sanjayankur31 avatar hrko avatar vistaus avatar eljenso avatar nickcis avatar alexmelman88 avatar mjkim0727 avatar marcusleg avatar bulletmark avatar nexero avatar zeten30 avatar mirko-laruina avatar morganantonsson avatar morrisjobke avatar rffontenelle avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.