aboutsummaryrefslogtreecommitdiff
path: root/.config/cow
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-08-19 20:06:44 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-08-19 20:06:44 +0100
commit7f11e930d549f78ddc892639b4946f616a8e0945 (patch)
tree81567fd439f14b3f132f47faf5630308763a7ee3 /.config/cow
parent27e8028eba84aa75504aa14f524048f25d87a0ad (diff)
Added a new script with keybindings to record the focused output, window or selected region.
Diffstat (limited to '.config/cow')
-rw-r--r--.config/cow/cow.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/cow/cow.conf b/.config/cow/cow.conf
index f001bbf..d86b0f2 100644
--- a/.config/cow/cow.conf
+++ b/.config/cow/cow.conf
@@ -333,6 +333,18 @@ bind L+Print exec sh "$HOME/.local/bin/screenshot.sh selected-region"
# Take a screenshot and save it to the clipboard
bind LS+Print exec sh "$HOME/.local/bin/screenshot.sh save-to-clipboard"
+# Take a recording of the focused output
+bind C+Print exec sh "$HOME/.local/bin/screenrecord.sh"
+
+# Take a recording of the focused window
+bind CS+Print exec sh "$HOME/.local/bin/screenrecord.sh focused-window"
+
+# Take a recording of the selected region
+bind CL+Print exec sh "$HOME/.local/bin/screenrecord.sh selected-region"
+
+# Stop all screen recording
+bind CS+r exec "pkill -SIGINT wf-recorder"
+
# Raise cowpager and cowbuttons
bind LS+b script {
for w in (windows where w.app_id == "cowpager") {