aboutsummaryrefslogtreecommitdiff
path: root/.config/river
diff options
context:
space:
mode:
Diffstat (limited to '.config/river')
-rwxr-xr-x.config/river/scripts/screenshot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/river/scripts/screenshot.sh b/.config/river/scripts/screenshot.sh
index 088c1b1..68576c7 100755
--- a/.config/river/scripts/screenshot.sh
+++ b/.config/river/scripts/screenshot.sh
@@ -3,7 +3,7 @@
case $1 in
selected-region)
# Take a screenshot of the selected region
- grim -t jpeg -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg
+ grim -t png -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png
;;
save-to-clipboard)
# Take a screenshot and save it to the clipboard
@@ -13,6 +13,6 @@ case $1 in
# Take a screenshot of the currently focused output and save it into screenshots
output="$(lswt -j | jq -c '.[] | select(.activated) | .outputs' | awk -F'[""
]' '{print $2}')"
- grim -o $output -t jpeg ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg
+ grim -o $output -t png ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png
;;
esac