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
 | 
			
		||||
 | 
			
		||||
# 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
 | 
			
		||||
bindsym XF86AudioMute exec --no-startup-id pactl -- set-sink-mute @DEFAULT_SINK@ toggle # mute sound
 | 
			
		||||
 | 
			
		||||
## increase sound volume
 | 
			
		||||
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 $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)
 | 
			
		||||
#bindsym XF86AudioMute exec amixer sset 'Master' toggle
 | 
			
		||||
#bindsym XF86AudioLowerVolume 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
 | 
			
		||||
floating_modifier $mod
 | 
			
		||||
 | 
			
		||||
@ -254,4 +269,4 @@ gaps vertical 10
 | 
			
		||||
gaps top 10
 | 
			
		||||
gaps right 10
 | 
			
		||||
gaps bottom 10
 | 
			
		||||
gaps left 10
 | 
			
		||||
gaps left 10
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user