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
+30
View File
@@ -0,0 +1,30 @@
#!/bin/bash
if [ -e ~/.config/screenshot-state ]; then
state=$(cat ~/.config/screenshot-state)
case $state in
file)
echo "clipboard" > ~/.config/screenshot-state
notify-send -t 3000 -a "Screenshots" "toggled screenshot mode" "screenshot mode changed to: \nSave to Clipboard"
echo "detected file, set to clipboard"
;;
clipboard)
echo "editor" > ~/.config/screenshot-state
notify-send -t 3000 -a "Screenshots" "toggled screenshot mode" "screenshot mode changed to: \nOpen in Editor"
echo "detected clipboard, set to editor"
;;
editor)
echo "file" > ~/.config/screenshot-state
notify-send -t 3000 -a "Screenshots" "toggled screenshot mode" "screenshot mode changed to: \nSave to File"
echo "detected editor, set to file"
;;
esac
else
echo "clipboard" > ~/.config/screenshot-state
notify-send -t 3000 -a "Screenshots" "toggled screenshot mode" "screenshot mode changed to: \nSave to Clipboard"
echo "detected no file ,set to clipboard"
fi