Crates.io | i3-workspace-brightness |
lib.rs | i3-workspace-brightness |
version | 1.0.3 |
source | src |
created_at | 2020-08-11 22:05:07.213945 |
updated_at | 2023-01-01 16:09:58.74997 |
description | Utility to auto-adjust the brightness of i3wm workspaces |
homepage | https://github.com/orhun/i3-workspace-brightness |
repository | https://github.com/orhun/i3-workspace-brightness |
max_upload_size | |
id | 275517 |
size | 43,456 |
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.
cargo install i3-workspace-brightness
paru -S i3-workspace-brightness
Add this line to your i3 config:
exec_always --no-startup-id i3-workspace-brightness
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
GNU General Public License (v3)
Copyright © 2020-2023, Orhun Parmaksız