Muh dotfiles

This commit is contained in:
2026-05-18 13:08:10 +02:00
commit 8f354b8983
7 changed files with 59 additions and 0 deletions

8
.local/bin/screenshot.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
timeout 10 slurp > /tmp/selection.txt 2>/dev/null
if [ $? -eq 0 ] && [ -s /tmp/selection.txt ]; then
grim -g "$(cat /tmp/selection.txt)" - | wl-copy
else
grim - | wl-copy
fi
rm -f /tmp/selection.txt