lilyinstarlight / nixos-cosmic

Flake for using COSMIC on NixOS
MIT License
437 stars 27 forks source link

enable GTK theme support #348

Open Thatoo opened 2 months ago

Thatoo commented 2 months ago

To solve this issue, I have been invited to enable GTK theme support.

I wen to Cosmic Settings > Desktop > Appearance > Experimental settings and I toggled "apply this theme to Gnome applications" and then I disconnect my session and reconnect but it didn't enable GTK theme support.

The GTK wifi setting app (down on the picture) isn't customized as it should (it should like the cosmic app, on top of the picture)

image

Apparently, cosmic-settings-daemon is running

:~$ cosmic-settings-daemon --help
Error: NameTaken
Thatoo commented 2 months ago

Based on https://github.com/pop-os/cosmic-epoch/issues/976 and https://github.com/lilyinstarlight/nixos-cosmic/issues/271, I tried to add this in my specialisation.nix file but it didn't solved it.

  specialisation = {
    cosmic.configuration = {
      environment.systemPackages = with pkgs; [
        adw-gtk3
        networkmanagerapplet
        gnome.networkmanager-openvpn
      ];
      system.nixos.tags = [ "Cosmic" ];
    };
  };
Thatoo commented 1 month ago

For some reason (after this install, but I tried also to uninstall it and it didn't change, after update...), I can't open Comsic Settings > Desktop > Appearance > Experimental settings anymore...

Solving this would make the wifi toggle issue have a workaround solution. It would also make, I guess, others gtk3 app look nicer.

Thatoo commented 3 weeks ago

The issue is still here on alpha 3

Thatoo commented 5 days ago

As I explain in https://github.com/lilyinstarlight/nixos-cosmic/issues/271, I solve my issue with the wifi applet so I removed from my systemPackages networkmanagerapplet and gnome.networkmanager-openvpn so now it looks like

  specialisation = {
    cosmic.configuration = {
      environment.systemPackages = with pkgs; [
        adw-gtk3
      ];
      system.nixos.tags = [ "Cosmic" ];
    };
  };

in Alpha 3, I can reach again Cosmic Settings > Desktop > Appearance > Experimental settings and toggle "apply this theme to Gnome applications" but still GTK3 app don't look very well integrated as shown in below screenshot (I use dark theme with cosmic) :

image

Should I keep adw-gtk3 or it's useless. Is there something else I should do improve their integration?