set $mode_recording " \ Record (r) \ + [Shift for 󰍮]" set $recorder $HOME/.local/share/sway/scripts/recorder.sh mode --pango_markup $mode_recording { $bindsym r exec $recorder, mode "default" $bindsym Shift+r exec $recorder -a, mode "default" # Return to default mode. $bindsym Escape mode "default" } # Launch // Recording Mode ## $bindsym $mod+Shift+Print mode $mode_recording # Launch // Stop Recording Mode ## $bindsym $mod+Escape exec killall -s SIGINT wf-recorder