diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2021-04-28 12:16:36 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2021-04-28 12:16:36 +0200 |
| commit | c4eff9dc76258325cd10e0a9c2262e56e816095b (patch) | |
| tree | baf9cfdc5aa17a828018acd279b3c39481d9fe4b /config/sway | |
| parent | 77b54904281523cb1cc536e70115352b37b561d4 (diff) | |
| download | dotfiles-c4eff9dc76258325cd10e0a9c2262e56e816095b.tar.gz dotfiles-c4eff9dc76258325cd10e0a9c2262e56e816095b.zip | |
[sway] add brightness key bindings using light and a logarithmic scale
Diffstat (limited to 'config/sway')
| -rw-r--r-- | config/sway/config | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/sway/config b/config/sway/config index a4264f2..a60988b 100644 --- a/config/sway/config +++ b/config/sway/config @@ -259,6 +259,14 @@ mode "resize" { bindsym $mod+r mode "resize" # +# Brightness control +# +# set brightness logarithmically by factor 1.4 +# https://www.reddit.com/r/swaywm/comments/fk08lu/nicer_brightness_control/ +bindsym --locked XF86MonBrightnessUp exec light -T 1.4 +bindsym --locked XF86MonBrightnessDown exec light -T 0.72 + +# # Audio shortcuts # # Volume |
