nixdots/config/hypr/scripts/screenshot_display.sh
2025-10-18 17:35:04 +03:00

6 lines
209 B
Bash
Executable file

#!/bin/bash
# .config/hypr/scripts/screenshot_display.sh
# Screenshot the current display Shift+Print
output_id=$(hyprctl -j monitors | jq -r '.[] | select(.focused).name')
grim -o $output_id - | swappy -f -