Skip to content

Added proper themes for GTK apps#1149

Open
SakibShahariar wants to merge 17 commits intomylinuxforwork:mainfrom
SakibShahariar:main
Open

Added proper themes for GTK apps#1149
SakibShahariar wants to merge 17 commits intomylinuxforwork:mainfrom
SakibShahariar:main

Conversation

@SakibShahariar
Copy link

Description

This makes the gtk apps more vibrant with proper css for both gtk3 and gtk4 and probably flatpak too.

Changes

  • Improved
  • Bug Fixes
  • Feature
  • Documentation
  • Other

Context

Regular theme doesn't look that good, that's why I want to add this.

How Has This Been Tested?

  • Tested on Arch Linux/Based Distro.
  • Tested on Fedora Linux/Based Distro.
  • Tested on openSuse.

Checklist

Please ensure your pull request meets the following requirements:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • My changes do not introduce new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes.

Screenshots

image image

Additional Notes

Check if gtk4 apps are looking right. Also check gtk3 apps, and flatpak apps. If doesn't work, we need to set theme using gsettings and for flatpak need to set up it's theme.

@mylinuxforwork
Copy link
Owner

Thank you vety much. I like what I see in your screenshot. But, Does This require so many files? Is there a way to only change the colors without adding all the icons?

@SakibShahariar
Copy link
Author

Yeah, there are many svg icons. Basically, I downloaded gruvbox gtk theme and edited the css files to match matugen. So, I didn't pay that much attention to the assets folder. I guess it should work without those but you should check yourself or I can check tomorrow and confirm if they needed or not.

@SakibShahariar
Copy link
Author

I checked and they can be removed by editing the css files. But svg icons are really small and don't take much space(less than 1 mb total) . But if you want I can edit them.

@mylinuxforwork
Copy link
Owner

I checked and they can be removed by editing the css files. But svg icons are really small and don't take much space(less than 1 mb total) . But if you want I can edit them.

If you have time, it would be great.

@SakibShahariar
Copy link
Author

ok I will edit them. Btw, check if they work for different apps like normal gtk3 and gtk4, flatpak apps and root accessed apps like gparted

@mylinuxforwork
Copy link
Owner

ok I will edit them. Btw, check if they work for different apps like normal gtk3 and gtk4, flatpak apps and root accessed apps like gparted

Great.

@SakibShahariar
Copy link
Author

Done

@mylinuxforwork
Copy link
Owner

Thank you. I can’t merge it into 2.9.9.2 anymore but will test it directly after the release.

@SakibShahariar
Copy link
Author

Ok.

@CtorW
Copy link

CtorW commented Oct 2, 2025

When is the release, it's bothering me hahaha

@TNWC14
Copy link

TNWC14 commented Feb 11, 2026

Is this PR still going through?

@SakibShahariar
Copy link
Author

SakibShahariar commented Feb 11, 2026

I guess he forgot

@mylinuxforwork
Copy link
Owner

Thanks for the reminder. But that means that the Gnome-Materials Theme needs to be installed first, right? This must be handled by the setup.sh script that will be executed through the Dotfiles Installer.

Or do you have another idea?

@SakibShahariar
Copy link
Author

I’m not sure what the best way is, as I haven’t worked with installers before.

So, we need to put my Material-Gnome theme in the ~/.themes folder. Then, we have to make it the default GTK theme for both Flatpak and regular apps.

To make the theme change live (without restarting), I use gsettings in GNOME to change the color scheme. I’m not currently using Hyprland, so I can’t say if it will work there or not.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants