Update screenshot.sh

This commit is contained in:
Leaced 2023-03-24 11:33:13 +01:00 committed by GitHub
parent 63ad3e2a49
commit ca87965d92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ all) #Screenshot of all outputs
focus) # Screenshot of focused window focus) # Screenshot of focused window
geometry="$( geometry="$(
swaymsg -p -t get_tree | swaymsg -t get_tree |
grep -A 8 \"focused\"\:\ true | grep -A 8 \"focused\"\:\ true |
grep -o "[0-9]*" | grep -o "[0-9]*" |
awk ' awk '