Rofi/Waybar aufräumen: tote Scripts entfernen, Themes konsolidieren

- GTK-Style-Script und Template-System entfernt (Catppuccin fest)
- 15 tote/inkompatible Scripts gelöscht (Hyprland, X11, Duplikate)
- Rasi-Themes von Einzelordnern in themes/ konsolidiert
- Waybar: Timezone fix, BAT0, JSON-Struktur, Icons restored
- Waybar: GTK-Menu durch wlogout on-click ersetzt
- Alle Script-Pfade auf /etc/xdg/rofi/themes/ aktualisiert
- moonarch-session als Rofi-basierte Übergangslösung hinzugefügt
- moonarch-dnd: broken pipe bei Waybar-Restart behoben
- Style.css vom System übernommen
This commit is contained in:
2026-03-27 13:19:48 +01:00
parent b43720082d
commit c3213cc0ce
40 changed files with 176 additions and 5556 deletions
+2 -19
View File
@@ -1,24 +1,7 @@
#!/usr/bin/env bash
# ABOUTME: Application launcher using rofi with GTK theme integration.
# ABOUTME: Application launcher using rofi with Catppuccin Mocha theme.
# ABOUTME: Supports window, files, run, and drun modes.
SETTINGS=/etc/xdg/rofi/gtk-theme.ini
#Gets the current gtk using gsettings and removes the quotes
CURRENT_GTK_THEME=$(gsettings get org.gnome.desktop.interface gtk-theme)
CURRENT_GTK_THEME="${CURRENT_GTK_THEME#?}"
CURRENT_GTK_THEME="${CURRENT_GTK_THEME%?}"
#Gets the gtk theme that is in the settings.ini file
SETTINGS_GTK_THEME=$(grep "GTK_THEME" "${SETTINGS}" | cut -b 11-)
#create new colors.rasi from template
if [ "${SETTINGS_GTK_THEME}" != "${CURRENT_GTK_THEME}" ]; then
sed -i "s:GTK_THEME=${SETTINGS_GTK_THEME}:GTK_THEME=${CURRENT_GTK_THEME}:g" "${SETTINGS}"
python3 moonarch-gtk-style /etc/xdg/rofi/_template/colors.rasi > /etc/xdg/rofi/colors.rasi
fi
case $1 in
window)
showmode="window"
@@ -38,4 +21,4 @@ esac
rofi \
-show $showmode \
-click-to-exit \
-theme /etc/xdg/rofi/launcher/launcher.rasi
-theme /etc/xdg/rofi/themes/launcher.rasi