I am trying to apply qt theme to share picker. I have QT_QPA_PLATFORMTHEME variable set to qt5ct and working qt configuration in home-manager, but share picker uses ugly default theme. Wiki instructions dont work either.

share picker

qt5ct and qt6ct

  • TalkierTick9904@alien.topOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I tried launching hyprland-share-picker with different QT_QPA_PLATFORMTHEME variables and setting it to gtk3 works, but when the window loses focus it looks bad, so I think the qt6ct style is not working for some reason.

    Here is my home.nix:

    {
      ...
      gtk = {  
        enable = true;  
        theme.name = "Catppuccin-Mocha-Standard-Blue-Dark";  
        cursorTheme.name = "Adwaita";  
        cursorTheme.size = 24;  
        iconTheme.name = "Tela-circle-dracula-dark";  
        font.name = "Inter Nerd Font";  
        font.size = 12;  
      };  
      home.pointerCursor = {  
        gtk.enable = true;  
        package = pkgs.gnome-themes-extra;  
        name = "Adwaita";  
        size = 24;  
      };  
      qt = {  
        enable = true;  
        platformTheme = "qtct";  
      };
      ...
    }
    
    • Varmisanth@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Thank you, but I asked about it outside the context of the Hyprland share-picker, I meant that when I prescribe variables for qt, qtct tells me that the variables are not disclosed and they should be set as “qt5ct”. Your screenshot shows that the qt theme works at least in qt5ct and qt6ct itself, I have a warning that the variables are not set and the application is not configured.