aboutsummaryrefslogtreecommitdiffstats
path: root/modules/media/screen-recording
diff options
context:
space:
mode:
Diffstat (limited to 'modules/media/screen-recording')
-rw-r--r--modules/media/screen-recording/screen-recording.sh3
-rw-r--r--modules/media/screen-recording/screen-recording.zsh1
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/media/screen-recording/screen-recording.sh b/modules/media/screen-recording/screen-recording.sh
index f4e65ab..90cbc85 100644
--- a/modules/media/screen-recording/screen-recording.sh
+++ b/modules/media/screen-recording/screen-recording.sh
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
+# Record the screen with wf-recorder into ~/Videos/Recordings,
+# optionally selecting a region to capture with slurp.
+
OUT_DIR="$HOME/Videos/Recordings"
mkdir -p "$OUT_DIR"
diff --git a/modules/media/screen-recording/screen-recording.zsh b/modules/media/screen-recording/screen-recording.zsh
index 835ec43..2f2baa3 100644
--- a/modules/media/screen-recording/screen-recording.zsh
+++ b/modules/media/screen-recording/screen-recording.zsh
@@ -1,4 +1,5 @@
#compdef screen-recording
+# Zsh completion for the screen-recording command.
_arguments \
'(-s --select)'{-s,--select}'[Launch slurp to select recording region]'