Open laguill opened 3 months ago
Hello,
I am on xubuntu 23.10. The script is working very well to change Yaru from light to dark on native applications.
I would like to know how to change also the theme of flatpak applications.
At the moment I have this script but not really convenient...
[Desktop Entry] Type=Application Terminal=false Name=Flatpak Dark Theme Switcher Icon=org.gnome.Settings Exec=gnome-terminal --title "Flatpak Dark Mode Switcher" -- sh -c 'while [ 1 -eq 1 ]; do echo "Press 1 for light theme, 2 for dark theme and hit enter"; read userInput; userInput=$(echo "$userInput" | xargs); if [ "$userInput" -eq "1" ]; then theme="Adwaita"; elif [ "$userInput" -eq "2" ]; then theme="Adwaita-dark"; else clear; echo "Invalid input, try again"; continue; fi; sudo flatpak override --env=GTK_THEME=$theme; sudo flatpak override --env=QT_STYLE_OVERRIDE=$theme; clear; echo "Operation Complete"; done;'
Can the script also handle this ?
Thanks for your help
Hello,
I am on xubuntu 23.10. The script is working very well to change Yaru from light to dark on native applications.
I would like to know how to change also the theme of flatpak applications.
At the moment I have this script but not really convenient...
Can the script also handle this ?
Thanks for your help