add:screen video capture

This commit is contained in:
kokopi-dev
2025-10-28 17:49:44 +09:00
parent 5e8503b456
commit 1452d726fb
3 changed files with 6 additions and 0 deletions

View File

@@ -279,6 +279,9 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
# Annotated screenshots (with Satty) # Annotated screenshots (with Satty)
bind = $mainMod ALT, P, exec, grim -g "$(slurp)" - | satty --filename - --output-filename ~/pictures/$(date +"%Y-%m-%d_%H-%M-%S").png --early-exit --copy-command wl-copy bind = $mainMod ALT, P, exec, grim -g "$(slurp)" - | satty --filename - --output-filename ~/pictures/$(date +"%Y-%m-%d_%H-%M-%S").png --early-exit --copy-command wl-copy
# Screencapture region
bind = $mainMod ALT, V, exec, bash -c 'if pgrep -x wl-screenrec > /dev/null; then pkill -INT wl-screenrec && notify-send "🎥 Recording Stopped" "Saved to ~/videos"; else GEOMETRY=$(slurp); if [ -n "$GEOMETRY" ]; then notify-send "🎥 Recording Started" "Press Super+Alt+v to stop" && wl-screenrec -g "$GEOMETRY" -f ~/videos/recording-$(date +"%Y-%m-%d_%H-%M-%S").mp4 & fi; fi'
bind = $mainMod, Return, exec, $terminal bind = $mainMod, Return, exec, $terminal
# bind = $mainMod, M, exit, # bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager bind = $mainMod, E, exec, $fileManager

View File

@@ -26,6 +26,8 @@ main config: ~/.config/hypr/hyprland.conf
* sudo pacman -S mpv (lightweight video player/image viewer) * sudo pacman -S mpv (lightweight video player/image viewer)
* sudo pacman -S slurp grim satty * sudo pacman -S slurp grim satty
- printscreen/screenshot capabilities - printscreen/screenshot capabilities
* yay -S wl-screenrec
- screen/video capture capabilities
--- ---
## Non config settings ## Non config settings

View File

@@ -1,4 +1,5 @@
Super + ALT + p → Copy/Save Screenshot Super + ALT + p → Copy/Save Screenshot
Super + ALT + v → Screen Region Video Capture
Super + Return → Terminal Super + Return → Terminal
Super + e → File Manager Super + e → File Manager
Super + Shft + q → Quit Window Super + Shft + q → Quit Window