add:satty capabilities
This commit is contained in:
@@ -272,8 +272,13 @@ device {
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
|
||||
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy && notify-send "📸 Screenshot" "Region copied to clipboard"
|
||||
bind = $mainMod, Print, exec, bash -c 'file=~/pictures/$(date +"%Y-%m-%d_%H-%M-%S").png; if grim -g "$(slurp)" "$file"; then notify-send "📸 Screenshot" "Saved: $file"; else notify-send "❌ Screenshot Failed" "Could not save screenshot"; fi'
|
||||
# Quick screenshots (no annotation)
|
||||
# bind = , Print, exec, grim -g "$(slurp)" - | wl-copy && notify-send "📸 Screenshot" "Region copied to clipboard"
|
||||
# bind = $mainMod, Print, exec, bash -c 'file=~/pictures/$(date +"%Y-%m-%d_%H-%M-%S").png; if grim -g "$(slurp)" "$file"; then notify-send "📸 Screenshot" "Saved: $file"; else notify-send "❌ Screenshot Failed" "Could not save screenshot"; fi'
|
||||
|
||||
# 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, Return, exec, $terminal
|
||||
# bind = $mainMod, M, exit,
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
|
||||
@@ -24,6 +24,8 @@ main config: ~/.config/hypr/hyprland.conf
|
||||
|
||||
* sudo pacman -S obs-studio
|
||||
* sudo pacman -S mpv (lightweight video player/image viewer)
|
||||
* sudo pacman -S slurp grim satty
|
||||
- printscreen/screenshot capabilities
|
||||
|
||||
---
|
||||
## Non config settings
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
Super + ALT + p → Copy/Save Screenshot
|
||||
Super + Return → Terminal
|
||||
Super + e → File Manager
|
||||
Super + Shft + q → Quit Window
|
||||
|
||||
Reference in New Issue
Block a user