add a bunch of sway stuff
This commit is contained in:
parent
e0d58c813d
commit
2ac99db38b
15 changed files with 521 additions and 0 deletions
19
.config/sway/modes/recording
Normal file
19
.config/sway/modes/recording
Normal file
|
@ -0,0 +1,19 @@
|
|||
set $mode_recording "<span foreground='$color10'></span> \
|
||||
<span foreground='$color5'><b>Record</b></span> <span foreground='$color10'>(<b>r</b>)</span> \
|
||||
<span foreground='$color5'>+ [<span foreground='$color10'><b>Shift</b></span> for ]</span>"
|
||||
|
||||
set $recorder /usr/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+r mode $mode_recording
|
||||
|
||||
## Launch // Stop Recording Mode ##
|
||||
$bindsym $mod+Escape exec killall -s SIGINT wf-recorder
|
Loading…
Add table
Add a link
Reference in a new issue