Fedora-OSTree-Setup-dev / Fedora-OSTree-Setup

Glorified scipt that automates the setup of Fedora Silverblue/Kinoite based on given config file.
GNU General Public License v3.0
7 stars 3 forks source link

Flatpak styling #26

Open boredsquirrel opened 1 year ago

boredsquirrel commented 1 year ago

There is a package to install to make Flatpaks use the KDE Theme. And there seems to be another one for the mouse cursor?

flatpak install -y org.kde.KStyle.Kvantum org.kde.KStyle.Adwaita

On Gnome there is a different way

flatpak install gnome org.freedesktop.Platform.Icontheme

# or, manual dirty way:

flatpak --user override com.discordapp.Discord --filesystem=/home/$USER/.icons/:ro
iaacornus commented 1 year ago

flatpak install gnome org.freedesktop.Platform.Icontheme

from what i know the org.freedesktop.Platform is installed as dependency already in some applications especially in gnome, which includes the org.freedesktop.Platform.Icontheme.

boredsquirrel commented 1 year ago

This does not work for Brave somehow.

maybe this helps with other problems too, and should not harm:

# cp /usr/share/icons ~/.icons -r
cp /usr/share/icons ~/.local/share/icons -r

# flatpak --user override --filesystem=$HOME/.icons/:ro
flatpak --user override --filesystem=$HOME/.local/share/icons
boredsquirrel commented 1 year ago

todo: check if GNOME downloads icons to the .local directory too

iaacornus commented 1 year ago

This does not work for Brave somehow.

maybe this helps with other problems too, and should not harm:

# cp /usr/share/icons ~/.icons -r
cp /usr/share/icons ~/.local/share/icons -r

# flatpak --user override --filesystem=$HOME/.icons/:ro
flatpak --user override --filesystem=$HOME/.local/share/icons

gnome downloads the icons in $HOME/.local/share/icons, while KDE when ive tried kinoite, downloads it in $HOME/.icons/

boredsquirrel commented 1 year ago

Alto to apply the KVantum theme to flatpak apps, you need this:

read -p "What app do you want to override? " oapp
flatpak override --env=QT_STYLE_OVERRIDE=kvantum --filesystem=xdg-config/Kvantum:ro $oapp
iaacornus commented 1 year ago

Alto to apply the KVantum theme to flatpak apps, you need this:

read -p "What app do you want to override? " oapp
flatpak override --env=QT_STYLE_OVERRIDE=kvantum --filesystem=xdg-config/Kvantum:ro $oapp

noted of this one, thanks