macos-titlebar
macos-titlebar copied to clipboard
macos-titlebar
GTK3 CSS stylesheet that apply MacOS style buttons over current GTK theme without changing it. Tested with elementary OS
but should work with any GTK3 desktop.
Night
Day
Pre-requisites
To have window minimize button and move buttons to the left install:
- elementary OS Odin 6 pantheon-tweaks. Choose Windows layout macOS. Toggle Force to use dark stylesheet if using dark theme.
- elementary OS Hera 5 and before elementary-tweaks
- for Gnome desktop gnome-tweaks or
sudo apt install gnome-tweaks
Install theme
Make backup of ~/.config/gtk-3.0
folder, then unzip theme file and copy folder content to ~/.config/gtk-3.0
.
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
To have entire elementary theme for flatpak apps you have to install current theme as flatpak app. To do that use pakitheme 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
To remove flatpak themes:
flatpak uninstall <full theme name>
Delete ~/.config/gtk-3.0
folder, restore backup.