diff options
| author | Simon Ser <contact@emersion.fr> | 2024-02-29 01:03:11 +0100 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-09-20 19:42:58 +0200 |
| commit | 3fba40da50a9d049d5ddffeb24d222993396b8cb (patch) | |
| tree | a518618d22474d14351a1d0ade41e4585d30f576 /config.in | |
| parent | e6c3612b72b0bd2d0ae5ec31964d986e90ae356a (diff) | |
Bind a few utilities to special keys in default config
(cherry picked from commit 9ba1beee580d07adfba903257ce8762b96ea3833)
Diffstat (limited to 'config.in')
| -rw-r--r-- | config.in | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -195,6 +195,19 @@ mode "resize" { bindsym Escape mode "default" } bindsym $mod+r mode "resize" +# +# Utilities: +# + # Special keys to adjust volume via PulseAudio + bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle + bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5% + bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% + bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle + # Special keys to adjust brightness via brightnessctl + bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- + bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ + # Special key to take a screenshot with grim + bindsym Print exec grim # # Status Bar: |
