Monorepo for Aesthetic.Computer
aesthetic.computer
1#!/bin/bash
2
3# Test overlay methods to see which ones work on this system
4
5echo "🧪 Testing overlay methods..."
6echo "==============================================="
7
8test_overlay() {
9 local method="$1"
10 local command="$2"
11 echo -n "Testing $method... "
12
13 if command -v "${command%% *}" >/dev/null 2>&1; then
14 echo "✅ Available"
15 return 0
16 else
17 echo "❌ Not found"
18 return 1
19 fi
20}
21
22# Test available overlay tools
23test_overlay "Google Chrome" "google-chrome"
24test_overlay "Chromium" "chromium"
25test_overlay "Chromium Browser" "chromium-browser"
26test_overlay "Firefox" "firefox"
27test_overlay "Zenity" "zenity"
28test_overlay "YAD" "yad"
29test_overlay "XMessage" "xmessage"
30test_overlay "GXMessage" "gxmessage"
31test_overlay "Rofi" "rofi"
32test_overlay "Figlet" "figlet"
33test_overlay "Toilet" "toilet"
34
35echo ""
36echo "🖥️ Display info:"
37echo "DISPLAY: ${DISPLAY:-not set}"
38echo "XDG_SESSION_TYPE: ${XDG_SESSION_TYPE:-not set}"
39echo "USER: ${USER:-not set}"
40echo "EUID: $EUID"
41
42echo ""
43echo "🔧 Recommended setup for best overlays:"
44echo "- Install chromium: sudo dnf install chromium"
45echo "- Install zenity: sudo dnf install zenity"
46echo "- Install figlet: sudo dnf install figlet"