GithubHelp home page GithubHelp logo

orhun / i3-workspace-brightness Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 1.0 32 KB

Utility to auto-adjust the brightness of i3wm workspaces

License: GNU General Public License v3.0

Rust 100.00%
i3 i3-wm i3-workspace brightness brightness-adjustment brightness-control

i3-workspace-brightness's Introduction

i3-workspace-brightness

Release AUR crates.io

About

Rust port of this Python script with a few improvements.

It allows individual brightness levels for each workspace and changes the brightness automatically while switching between them.

Installation

Cargo

cargo install i3-workspace-brightness

AUR

paru -S i3-workspace-brightness

Configuration

Add this line to your i3 config:

exec_always --no-startup-id i3-workspace-brightness

Replacing xbacklight commands

Use GET_BRIGHTNESS and SET_BRIGHTNESS environment variables for the command to use. For example:

export GET_BRIGHTNESS="light"
export SET_BRIGHTNESS="light -S {}"
i3-workspace-brightness

or set the variables while running i3-workspace-brightness:

GET_BRIGHTNESS="light" SET_BRIGHTNESS="light -S {}" i3-workspace-brightness

License

GNU General Public License (v3)

Copyright

Copyright © 2020-2023, Orhun Parmaksız

i3-workspace-brightness's People

Contributors

orhun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

o4oren

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.