5 lines
209 B
Bash
Executable file
5 lines
209 B
Bash
Executable file
#!/bin/bash
|
|
# .config/hypr/scripts/screenshot_window.sh
|
|
# Screenshot a window Ctrl+Print
|
|
|
|
grim -g "$(hyprctl -j activewindow | jq -r '.at + .size | "\(.[0]),\(.[1]) \(.[2])x\(.[3])"' | slurp)" - | swappy -f -
|