16 lines
400 B
Bash
Executable file
16 lines
400 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
op=$( echo -e "Output\nWindow\nRegion" | wofi -i --dmenu --width 250 --height 260 | awk '{print tolower($1)}' )
|
|
|
|
echo "$op"
|
|
|
|
#case $op in
|
|
# development|school|work)
|
|
# ws="$op"
|
|
# ;;
|
|
#esac
|
|
|
|
sleep 0.5
|
|
mkdir -p "$HOME/.tmp/sway-screenshot/"
|
|
sway-screenshot -m $op --output-folder "$HOME/.tmp/sway-screenshot/"
|
|
mv "$HOME/.tmp/sway-screenshot/"* "$HOME/Pictures/Screen Capture"
|