#!/bin/bash FILENAME="screenshot-$(date +%F-%T).png" SCREENSHOT_PATH="$HOME/Pictures/screenshots/$FILENAME" swaymsg screenshot -o $SCREENSHOT_PATH echo -n $SCREENSHOT_PATH | wl-copy