add:screen video capture
This commit is contained in:
@@ -279,6 +279,9 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
# 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
|
||||
|
||||
# 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, M, exit,
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
|
||||
@@ -26,6 +26,8 @@ main config: ~/.config/hypr/hyprland.conf
|
||||
* sudo pacman -S mpv (lightweight video player/image viewer)
|
||||
* sudo pacman -S slurp grim satty
|
||||
- printscreen/screenshot capabilities
|
||||
* yay -S wl-screenrec
|
||||
- screen/video capture capabilities
|
||||
|
||||
---
|
||||
## Non config settings
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Super + ALT + p → Copy/Save Screenshot
|
||||
Super + ALT + v → Screen Region Video Capture
|
||||
Super + Return → Terminal
|
||||
Super + e → File Manager
|
||||
Super + Shft + q → Quit Window
|
||||
|
||||
Reference in New Issue
Block a user