#!/bin/sh output=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') file=$(date "+$HOME/multimedia/screenshots/%Y%m%d-%H%M%S.png") grim -o $output - | tee $file | wl-copy