Skip to content

Brightness in i3status #6035

Answered by okraits
kora24 asked this question in Q&A
May 2, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Did you read the i3status mapage? i3status doesn't support displaying the monitor brightness.
But you can display the content of a file: https://man.archlinux.org/man/i3status.1#File_Contents
So you can do:

  1. write a script which periodically writes the output of xbacklight -get to a temporary file
  2. execute that script from your i3 config
  3. configure i3status to read and display the content of that temporary file

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@pflingstring
Comment options

@okraits
Comment options

Answer selected by orestisfl
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants