Removed fault tmux bindings and added media keys to sway

This commit is contained in:
Patrick Wadström 2020-05-25 10:38:45 +02:00
parent b9b422e3ce
commit 4a6ddb5e4f
2 changed files with 12 additions and 2 deletions

View File

@ -41,6 +41,18 @@ bindsym $mod+Shift+e exec swaynag -t warning -m 'Do you want to exit?' -b 'Yes'
bindsym --release $mod+Escape exec makoctl dismiss
# Media controls
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym XF86MonBrightnessUp exec brightnessctl set +5%
bindsym --locked XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
#
# Moving around:
#

View File

@ -45,10 +45,8 @@ bind-key -r -T prefix k select-pane -U
bind-key -r -T prefix l select-pane -R
# Swap panes using shift
bind-key -r -T prefix H swap-pane -L
bind-key -r -T prefix J swap-pane -D
bind-key -r -T prefix K swap-pane -U
bind-key -r -T prefix L swap-pane -R
# Resize by holding ctrl
bind-key -r -T prefix C-h resize-pane -L 10