Skip to content
/ gnome-ftu Public

A quick script to sync your custom GTK theme with flatpak apps after they get updated

License

Notifications You must be signed in to change notification settings

hkdb/gnome-ftu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gnome Flatpak Custom Theme Updater

maintained by: @hkdb

screenshot

*** DEPRECATED & UNMAINTAINED ***

This repo is no longer maintained as it is no longer needed. To have Flatpak apps use your custom themes, You can simply do the following:

sudo flatpak override --env=GTK_THEME=<THEME NAME>

For QT apps, you can use kvantum and run the following command:

sudo flatpak override --env=QT_STYLE_OVERRIDE=kvantum --filesystem=xdg-config/Kvantum:ro

SUMMARY

If you do what I do as described here to sync your custom theme with Flatpak apps, everytime your flatpak apps get updated, your theme folder gets deleted from the flapak Gnome runtime folder and your flatpak apps go back to the default theme that's out of sync with what you are using in Gnome. Here's a quick script to sync your custom theme with flatpak apps after they get updated to make it a little easier.

DEPENDENCIES

  • Gnome Desktop 3.3x running 64-bit
  • Python 3.x

USAGE

  1. git clone git@github.com:hkdb/gnome-ftu.git
  2. cd gnome-ftu
  3. ./gftu.py

If you want to make things easier and execute this globally inside your terminal, you can do the following to alias it:

cd ~/.local/share/
git clone git@github.com:hkdb/gnome-ftu.git
echo "alias gftu='~/.local/share/gnome-ftu/gftu.py'" >> ~/.bash_aliases
exit

The next time you open up your terminal, you can just type gftu anywhere and it will do what it's supposed to do.

DISCLAIMER

This repo is sponsored by 3DF OSI and is maintained by volunteers. 3DF Limited, 3DF OSI, and its volunteers in no way make any guarantees. Please use at your own risk!

To Learn more, please visit:

https://osi.3df.io

https://3df.io

About

A quick script to sync your custom GTK theme with flatpak apps after they get updated

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages