Global Feed Post Login
Replying to Avatar Christiaan

It's just a visual thing in the script, but switching the if statement for a case statement.

Ah, you've chosen the values based on brightness jumps in your screen? The reason I said 33 and 66 is because those are approximately ⅓ and ⅔ of 100 ✌️😅

Avatar
e33io 1y ago

so far i've kept an if statement, but i did simplify and clean this up a bit..

https://git.sr.ht/~e33io/dotfiles/tree/main/item/.local/bin/brightness.sh

Reply to this note

Please Login to reply.

Discussion

No replies yet.