#!/usr/bin/env bash op=$(echo -e "Output\nWindow\nRegion" | wofi -i --dmenu --width 250 --height 260 -k /dev/null | awk '{print tolower($1)}') sc_dir="${HOME}/Pictures/Screen Capture" sleep 0.25 mkdir -p "${sc_dir}" sway-screenshot -m $op --output-folder "${sc_dir}"