Skip to content

Commit

Permalink
Bind a few utilities to special keys in default config
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion committed Feb 29, 2024
1 parent 0b84d82 commit a894e10
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config.in
Expand Up @@ -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:
Expand Down

0 comments on commit a894e10

Please sign in to comment.