vinceliuice / Graphite-gtk-theme

Graphite gtk theme
GNU General Public License v3.0
917 stars 51 forks source link

Running installer as root messes with the --libadwaita symlinks #90

Open mrmeszaros opened 1 year ago

mrmeszaros commented 1 year ago

I installed the theme with sudo in order for --gdm to work, and to install into the global /usr/share/themes directory.

However, this caused for the --libadwaita flag to create the symlinks in the root home /root/.config/gtk-4.0 instead of my home directory.

I think this is a bug (since the root user is never used as a regular user), and should:

  1. either display an error message, or rather
  2. create the symlinks in the original user's home.