i3 workarounds for busted keyboard keys
This commit is contained in:
parent
8e565758f6
commit
d51376b953
@ -37,16 +37,31 @@ font pango:unscii 12
|
|||||||
#exec --no-startup-id exec tint2
|
#exec --no-startup-id exec tint2
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume @DEFAULT_SINK@ +5% #increase sound volume
|
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume @DEFAULT_SINK@ -5% #decrease sound volume
|
## increase sound volume
|
||||||
bindsym XF86AudioMute exec --no-startup-id pactl -- set-sink-mute @DEFAULT_SINK@ toggle # mute sound
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
|
||||||
|
## decrease sound volume
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
|
||||||
|
## mute output
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl -- set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
bindsym $mod+m exec --no-startup-id pactl -- set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
|
||||||
|
## mute input
|
||||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
bindsym $mod+Shift+m exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
|
||||||
# Use amixer to adjust volume in PulseAudio. (not as good as pactl)
|
# Use amixer to adjust volume in PulseAudio. (not as good as pactl)
|
||||||
#bindsym XF86AudioMute exec amixer sset 'Master' toggle
|
#bindsym XF86AudioMute exec amixer sset 'Master' toggle
|
||||||
#bindsym XF86AudioLowerVolume exec amixer sset 'Master' 5%-
|
#bindsym XF86AudioLowerVolume exec amixer sset 'Master' 5%-
|
||||||
#bindsym XF86AudioRaiseVolume exec amixer sset 'Master' 5%+
|
#bindsym XF86AudioRaiseVolume exec amixer sset 'Master' 5%+
|
||||||
|
|
||||||
|
# Screen brightness
|
||||||
|
# cred 4 https://github.com/patrickbolle/dotfiles/
|
||||||
|
bindsym $mod+equal exec light -A 5 && notify-send --expire-time=20 "LCD Backlight $(printf %.0f%% $(light -G))"
|
||||||
|
bindsym $mod+minus exec light -U 5 && notify-send --expire-time=20 "LCD Backlight $(printf %.0f%% $(light -G))"
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user