adwaita issue
This commit is contained in:
@@ -5,20 +5,15 @@
|
|||||||
programs.gtk.enable = true;
|
programs.gtk.enable = true;
|
||||||
programs.qt.enable = true;
|
programs.qt.enable = true;
|
||||||
|
|
||||||
# Set a dark GTK theme (e.g., Adwaita-dark)
|
# Install the Adwaita icon theme
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
# GTK icon theme
|
# Set GTK theme and icon theme via environment variables
|
||||||
gtk.iconTheme = {
|
|
||||||
name = "Adwaita";
|
|
||||||
package = pkgs.adwaita-icon-theme;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Set GTK theme via environment variable
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
GTK_THEME = "Adwaita:dark";
|
GTK_THEME = "Adwaita:dark";
|
||||||
|
GTK_ICON_THEME = "Adwaita";
|
||||||
QT_STYLE_OVERRIDE = "gtk2";
|
QT_STYLE_OVERRIDE = "gtk2";
|
||||||
QT_QPA_PLATFORMTHEME = "gtk2";
|
QT_QPA_PLATFORMTHEME = "gtk2";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user