Working on GTK
This commit is contained in:
@@ -1,24 +1,16 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Install the Catppuccin GTK theme system-wide
|
# Install the GTK theme and icon theme
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
catppuccin-gtk
|
catppuccin-gtk # or inputs.catppuccin.packages.${pkgs.system}.catppuccin-gtk-mocha
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set the GTK theme and icon theme system-wide
|
# Set environment variables to enforce the theme
|
||||||
gtk = {
|
|
||||||
theme = {
|
|
||||||
name = "Catppuccin-Mocha-Standard-Blue-Dark";
|
|
||||||
};
|
|
||||||
iconTheme = {
|
|
||||||
name = "Papirus-Dark";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Force dark mode for all GTK applications
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
|
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||||
|
GTK_ICON_THEME = "Papirus-Dark";
|
||||||
GTK_ENABLE_DARK_MODE = "1";
|
GTK_ENABLE_DARK_MODE = "1";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user