Added Wayland environment with Sway

This commit is contained in:
Fabio Scotto di Santolo
2025-11-28 21:18:38 +01:00
parent ca92392993
commit f4d92f747e
31 changed files with 1227 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
file="$HOME/Pictures/Screenshots/$(date +%Y-%m-%dT%H:%M:%S).png"
thumb="/tmp/screenshot-thumb.png"
grim "$file" \
&& wl-copy < "$file" \
&& magick "$file" -resize 640x480 "$thumb" \
&& fyi -i "$thumb" "📸 Catch screenshot"