add screen recorder script

This commit is contained in:
shibao 2021-11-29 13:00:19 -05:00
parent f89b2838ba
commit e1f62561c5
3 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,6 @@
#!/bin/sh
# Take a screenshot
dir=~/Downloads/temp
(cd $dir && wf-recorder -g "$(slurp)")
xdg-open $dir

View File

@ -38,6 +38,8 @@ please let me know if i've forgotten one!
- papirus-dark (icon theme)
- fctix (intl. keyboard input)
- grim (screenshots on wayland)
- wf-recorder (screen recorder on wayland)
- slurp (to select region in wayland)
- neovim (editor)
- direnv (per-directory environment variables)
- asdf (language agnostic dependency management)