Skip to content

PHATTARAPHON_SAENKLA #1639

Description

install_theming() { if yes_reply "Do you want to install Customization Programs?"; then echo "🔧 Starting theming & customization setup..." # เพิ่ม Flathub echo "Adding Flathub repository..." sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo # อัพเดท Flatpak echo "Updating Flatpak..." flatpak update -y --noninteractive || true echo "Installing Flatpak theming tools..." flatpak install flathub -y \ com.mattjakeman.ExtensionManager \ com.github.GradienceTeam.Gradience \ org.gtk.Gtk3theme.adw-gtk3 \ org.gtk.Gtk3theme.adw-gtk3-dark # Native packages echo "Installing native theming dependencies..." sudo dnf install --assumeyes \ gnome-tweaks \ gnome-extensions-app \ alacarte \ adw-gtk3-theme || true # สร้างโฟลเดอร์ที่จำเป็น echo "Creating themes directories..." mkdir -p /.themes /.icons /.local/share/fonts echo "✅ Theming tools installation completed!" # Flatpak overrides (สำคัญมาก) echo "Applying Flatpak overrides for better theming..." flatpak override --user --filesystem=/.themes:ro flatpak override --user --filesystem=/.icons:ro flatpak override --user --filesystem=/.local/share/fonts:ro flatpak override --user --env=GTK_THEME=Adwaita || true # คำแนะนำหลังติดตั้ง echo "" echo "📋 Next steps recommendations:" echo " 1. Open Extension Manager → Browse → Install 'User Themes'" echo " 2. Run Gradience to create or import your theme" echo " 3. Use GNOME Tweaks → Appearance to apply Shell & GTK theme" echo " 4. Log out and log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions