From 4b7ca662299f063745b20a6aa30fa9a60d3a943f Mon Sep 17 00:00:00 2001 From: Andy Killorin <37423245+Speedy6451@users.noreply.github.com> Date: Sun, 8 Oct 2023 17:28:33 -0500 Subject: [PATCH] prefer to control spotify --- .config/sway/config | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index abfaae9..b557e3e 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -159,7 +159,7 @@ bindsym $mod+n exec makoctl dismiss # music play/pause #bindsym --locked XF86AudioPlay exec pragha -t -bindsym --locked XF86AudioPlay exec playerctl play-pause +bindsym --locked XF86AudioPlay exec "playerctl --player=spotify,pragha,%any play-pause" # volume bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +3% @@ -176,8 +176,9 @@ bindsym XF86Favorites scratchpad show bindsym Print move container to workspace f -bindsym $mod++Shift+r exec /home/andy/Documents/applications/wf-recorder/build/wf-recorder -g "$(slurp)" -f /home/andy/Documents/recording.webm -bindsym $mod++Shift+t exec killall -SIGINT /home/andy/Documents/applications/wf-recorder/build/wf-recorder +bindsym $mod+Shift+r exec wf-recorder -g "$(slurp)" -f /home/andy/Documents/media/screenshots/"$(date +%Y-%m-%d-%H:%M:%S)".webm +bindsym $mod+Shift+t exec killall -SIGINT wf-recorder +bindsym $mod+Shift+f exec grim -g "$(slurp)" /home/andy/Documents/media/screenshots/"$(date +%Y-%m-%d-%H:%M:%S)".png bindsym $mod+Control+Shift+$right move workspace to output right bindsym $mod+Control+Shift+$left move workspace to output left