When using HYPER+META+1/2 to set screen brightness, the lowest level before it fades to black entirely is still pretty bright. But since it fades to black across several steps, I assume the hardware can do lower settings.
Is there a way to extend the range of available settings downwards?
Edit: I did find the brightnessctl
command and that does enable going lower, but having that option through the keyboard shortcut would still be nice. The lowest value available through the keyboard shortcut is 26, while I can comfortably use as low as 10.
3 Likes
Change bindsym $mod+F(1 and 2 )exec brightness s (10%- and +10%)
to bindsym $mod+F(1 and 2 )exec brightness s (4%- and +4%)
in .config/sway/config
(it should be line 132 and 133 in default config).”
I use 4 because 4 is 100’s divisor.
Press HYPER+META+1 until the screen is black and press HYPER+META+2, the brightnessctl should show the current brightness is set to 4%.
Remember to reload sway to apply changed config.
3 Likes
Cool this worked. Thanks
I can have a nice and dim display now when I want.
I’m not quite sure why it now changes in 10% steps (tested with brightnessctl get
despite the step setting being 4% but I’ll take it.
1 Like
Do you reload sway after edit the config file? In order to get new setting to work, you need to reload your sway(either by press $mod+Shift+c
or logout you current sway environment).
yes, I did. And it did improve things. Before, the minimum value I could reach before going all-black was 26%, now it’s 10%.
Does second line of brightnessctl output show Current brightness: 10 (4%)
Yes, I didn’t see that before because I only ran brightnessctl get
.
Ah, I see. The range is 0-255
1 Like