Sway : Fix swap brightness buttons.

This commit is contained in:
Dmitry Voronin 2024-09-12 01:06:10 +03:00
parent 62b84d7495
commit 5c01cefc93
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# Dmitry 🌊 Nix configuration. # Dmitry 🌊 NixOS, HomeManager and Nix-on-droid configurations.
## Screenshots. ## Screenshots.

View file

@ -12,9 +12,9 @@ in {
bindsym --to-code ${mod}+x exec 'systemctl poweroff -i' bindsym --to-code ${mod}+x exec 'systemctl poweroff -i'
bindsym --to-code ${mod}+z exec 'systemctl suspend -i' bindsym --to-code ${mod}+z exec 'systemctl suspend -i'
bindsym --to-code ${mod}+w exec light -U ${toString brstep} bindsym --to-code ${mod}+w exec light -A ${toString brstep}
bindsym XF86MonBrightnessDown exec light -U ${toString brstep}
bindsym --to-code ${mod}+s exec light -A ${toString brstep}
bindsym XF86MonBrightnessUp exec light -A ${toString brstep} bindsym XF86MonBrightnessUp exec light -A ${toString brstep}
bindsym --to-code ${mod}+s exec light -U ${toString brstep}
bindsym XF86MonBrightnessDown exec light -U ${toString brstep}
''; '';
} }