10 lines
330 B
Bash
Executable file
10 lines
330 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"
|
|
|
|
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"
|