Sway: Remove extra --to-code args.

This commit is contained in:
Dmitry Voronin 2024-11-23 11:10:06 +03:00
parent 85f140481c
commit 4b686ee205
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -3,18 +3,18 @@
step_volume = 5; step_volume = 5;
in { in {
text = '' text = ''
bindsym --to-code XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +${toString step_volume}%' bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +${toString step_volume}%'
bindsym --to-code XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -${toString step_volume}%' bindsym XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -${toString step_volume}%'
bindsym --to-code XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle' bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
bindsym --to-code XF86AudioMicMute exec 'pactl set-source-mute @DEFAULT_SOURCE@ toggle' bindsym XF86AudioMicMute exec 'pactl set-source-mute @DEFAULT_SOURCE@ toggle'
bindsym --to-code XF86AudioPlay exec 'playerctl play-pause' bindsym XF86AudioPlay exec 'playerctl play-pause'
bindsym --to-code XF86AudioPause exec 'playerctl pause' bindsym XF86AudioPause exec 'playerctl pause'
bindsym --to-code XF86AudioStop exec 'playerctl stop' bindsym XF86AudioStop exec 'playerctl stop'
bindsym --to-code XF86AudioNext exec 'playerctl next' bindsym XF86AudioNext exec 'playerctl next'
bindsym --to-code XF86AudioPrev exec 'playerctl previous' bindsym XF86AudioPrev exec 'playerctl previous'
bindsym --to-code XF86Forward exec 'playerctl position ${toString step_music}+' bindsym XF86Forward exec 'playerctl position ${toString step_music}+'
bindsym --to-code XF86Back exec 'playerctl position ${toString step_music}-' bindsym XF86Back exec 'playerctl position ${toString step_music}-'
bindsym --to-code XF86Eject exec 'swayscript sound_output_cycle' bindsym XF86Eject exec 'swayscript sound_output_cycle'
''; '';
} }