Files
EndeavourOS-sway/.config/sway/scripts/screenshot_display.sh
T
2026-09-02 00:13:39 +02:00

5 lines
122 B
Bash
Executable File

#!/bin/bash
output_id=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused).name')
grim -o $output_id - | swappy -f -