update screen recording commands
This commit is contained in:
parent
02edcf2d48
commit
d9941f5f9b
@ -219,7 +219,7 @@ bindsym XF86Search exec $menu
|
||||
bindsym Ctrl+Shift+p exec ~/scripts/screenshot
|
||||
|
||||
# record screen
|
||||
bindsym Ctrl+Alt+p exec ~/scripts/record-screen
|
||||
# bindsym Ctrl+Alt+p exec ~/scripts/record-screen
|
||||
|
||||
### gaps
|
||||
gaps inner 25
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Take a screenshot
|
||||
# record video
|
||||
dir=~/Downloads/temp
|
||||
(cd $dir && wf-recorder -g "$(slurp)")
|
||||
(cd $dir && wf-recorder -g "$(slurp)" --audio --file=$(date +%Y-%m-%d_%H-%m-%s).mp4)
|
||||
xdg-open $dir
|
||||
|
6
home/default/scripts/record-screen-no-audio
Executable file
6
home/default/scripts/record-screen-no-audio
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# record video
|
||||
dir=~/Downloads/temp
|
||||
(cd $dir && wf-recorder -g "$(slurp)" --file="$(date +%Y-%m-%d_%H-%m-%s).mp4")
|
||||
xdg-open $dir
|
Loading…
Reference in New Issue
Block a user