updated monocle bar and added wayshell framework with some modules.

This commit is contained in:
2026-06-27 17:35:39 +02:00
parent 79b45ab123
commit 66065960cf
43 changed files with 2163 additions and 97 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
state_file=$HOME/.config/sdgos/wayshell/screenshot.state
tooltip="Settings"
if [ -f "$state_file" ]; then
mode=$(awk -F= '/^mode=/ {print $2}' "$state_file")
save_dir=$(awk -F= '/^save_dir=/ {print $2}' "$state_file")
editor=$(awk -F= '/^editor=/ {print $2}' "$state_file")
case $mode in
disk) tooltip="Save to: $save_dir" ;;
clipboard) tooltip="Clipboard mode" ;;
editor) tooltip="Editor: $editor" ;;
esac
fi
echo "{\"text\":\"\",\"tooltip\":\"$tooltip\"}"