added i3 bindings for keypad volume control
This commit is contained in:
@@ -86,6 +86,12 @@ set $refresh_i3status killall -SIGUSR1 i3status
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
|
||||
# Binds for - and + for volume
|
||||
bindsym $mod+KP_Add exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||
bindsym $mod+KP_Subtract exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||
bindsym $mod+KP_Multiply exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
@@ -124,6 +130,10 @@ bindsym $mod+Ctrl+Up resize grow height 1 px or 1 ppt
|
||||
bindsym $mod+Ctrl+Down resize shrink height 1 px or 1 ppt
|
||||
bindsym $mod+Ctrl+Left resize grow width 1 px or 1 ppt
|
||||
|
||||
# multi moniter support
|
||||
bindsym $mod+greater move workspace to output right
|
||||
bindsym $mod+less move workspace to output left
|
||||
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym $mod+semicolon split h
|
||||
@@ -329,7 +339,7 @@ bar {
|
||||
status_command i3status
|
||||
tray_output primary
|
||||
i3bar_command i3bar
|
||||
position top
|
||||
position bottom
|
||||
separator_symbol "|"
|
||||
|
||||
colors {
|
||||
|
||||
Reference in New Issue
Block a user