sway-dotfiles/screenshot.sh.bac.2

7 lines
183 B
Groff
Raw Permalink Normal View History

2023-06-03 23:58:12 +02:00
#!/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