Skip to content

xiadnoring/macos-like-window-controls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

🤡macOs-like window controls

These styles convert regular gnome controls to macOs-like ones. Styles also support gtk-3.0 and gtk-4.0 and can be installed together with other Gnome themes.

You can judge the results of the styles by this screenshots.

Left position Right position

🌟Overview

Window controls in enlarged view.

active

close

minimize

maximize

backdrop

Bugs in styles are also possible. For example, in vs-code, the distance between the buttons increases, and etc.

bug

I will work on correcting these errors. Also, you can always help me with this.

💡Installation

  • Download the latest zip archive from the releases.
  • Unzip the archive to ~/.config to get a macos-like-window-controls folder with styles.
  • Add this line to ~/.config/gtk-3.0/gtk.css
@import "../macos-like-window-controls/gtk-3.0.css";
  • Add this line to ~/.config/gtk-4.0/gtk.css
@import "../macos-like-window-controls/gtk-4.0.css";
  • Reboot
$ reboot

😭 Flatpak Support

sudo flatpak override --filesystem=xdg-config/gtk-3.0
sudo flatpak override --filesystem=xdg-config/gtk-4.0
sudo flatpak override --filesystem=xdg-config/macos-like-window-controls

Note

You will just grant read/write flatpak apps to the below folders:

  • ~/.config/gtk-3.0
  • ~/.config/gtk-4.0
  • ~/.config/macos-like-window-controls

🏮Tested

  • Tested on Gnome 46.0 ArchLinux x86_64 kernel 6.8.7-zen1-1-zen wayland