add screen recorder script
This commit is contained in:
@ -217,6 +217,9 @@ bindsym XF86Search exec $menu
|
||||
# screenshot
|
||||
bindsym Ctrl+Shift+p exec ~/scripts/screenshot
|
||||
|
||||
# record screen
|
||||
bindsym Ctrl+Alt+p exec ~/scripts/record-screen
|
||||
|
||||
### gaps
|
||||
gaps inner 25
|
||||
# smart_gaps on
|
||||
|
6
home/default/scripts/record-screen
Executable file
6
home/default/scripts/record-screen
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Take a screenshot
|
||||
dir=~/Downloads/temp
|
||||
(cd $dir && wf-recorder -g "$(slurp)")
|
||||
xdg-open $dir
|
Reference in New Issue
Block a user