Skip to content

This project provides GTK3 and GTK4 CSS stylesheets that apply MacOS-style buttons over the current GTK theme without changing it. It is designed to work with any Gnome desktop environment

License

Notifications You must be signed in to change notification settings

kem-a/macos-titlebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macos-titlebar

GTK3 and GTK4 CSS stylesheet that apply MacOS style buttons over current GTK theme without changing it. Tested with elementary OS but should work with any Gnome desktop.

Night

Screenshot from 2021-11-04 17-29-06

Day

Screenshot from 2021-11-04 17-29-21

Install

sh install.sh

Customizing Button Styles

To customize the button styles, you can modify the gtk.css files located at:

  • GTK3: ~/.config/gtk-3.0/gtk.css
  • GTK4: ~/.config/gtk-4.0/gtk.css

Flatpak theming

Run this command to override xdg-config and have buttons themed for flatpak apps:

flatpak override --user --filesystem=xdg-config/gtk-3.0:ro
flatpak override --user --filesystem=xdg-config/gtk-4.0:ro

To have entire elementary theme for flatpak apps you have to install current theme as flatpak app. To do that use stylepak bash script.

There still might be some apps that will ignore it, but majority will work fine. Logout or reboot to apply changes.

To uninstall

sh uninstall.sh

To remove flatpak themes:

flatpak uninstall <full theme name>

License

This project is licensed under the MIT License

About

This project provides GTK3 and GTK4 CSS stylesheets that apply MacOS-style buttons over the current GTK theme without changing it. It is designed to work with any Gnome desktop environment

Resources

License

Stars

Watchers

Forks

Packages

No packages published