major update: added screenshots, first-run and a mango configurator.

This commit is contained in:
2026-05-17 14:10:06 +02:00
parent f5d33c4576
commit 38c11b2e56
12 changed files with 151 additions and 33 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
if [ -e ~/.config/screenshot-state ]; then
state=$(cat ~/.config/screenshot-state)
case $state in
file)
mkdir -p ~/Screenshots
hyprshot -m region --output-folder ~/Screenshots
;;
clipboard)
hyprshot -m region --clipboard-only
;;
editor)
hyprshot -m region --raw | satty --filename -
;;
esac
else
echo "clipboard" > ~/.config/screenshot-state
notify-send -t 3000 -a "Screenshots" "screenshot mode" 'No mode detected, set mode to "Save to Clipboard". re-run your screenshot'
fi