6 lines
209 B
Bash
Executable file
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 -
|