diff --git a/.scripts/cast_screenshot b/.scripts/cast_screenshot index 8514fc4..f5303e4 100755 --- a/.scripts/cast_screenshot +++ b/.scripts/cast_screenshot @@ -1,6 +1,8 @@ #!/bin/sh -filename="/home/qv/Pictures/screenshots/$(date -u +"%Y-%m-%d%H%M%S")-screenshot.png" -selection=$(hacksaw -f "-i %i -g %g") +. "${HOME}/.cache/wal/colors.sh" + +filename="${HOME}/Pictures/screenshots/$(date -u +"%Y-%m-%d%H%M%S")-screenshot.png" +selection=$(hacksaw -f "-i %i -g %g" --colour $color4) shotgun $selection $filename xclip -t 'image/png' -selection clipboard < $filename