mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2026-05-11 15:41:43 +01:00
Attempt to fix theming
This commit is contained in:
Submodule home-manager/core/dotfiles updated: a0e232ff29...a579237597
@@ -95,7 +95,6 @@
|
||||
"hg".source = ./dotfiles/dot_config/hg;
|
||||
"stylua.toml".source = ./dotfiles/dot_config/stylua.toml;
|
||||
"electron-flags.conf".source = ./dotfiles/dot_config/electron-flags.conf;
|
||||
"Kvantum".source = ./dotfiles/dot_config/Kvantum;
|
||||
"foot".source = ./dotfiles/dot_config/foot;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -73,8 +73,6 @@ in {
|
||||
pkgs.gtk-engine-murrine
|
||||
pkgs.gtk_engines
|
||||
pkgs.hicolor-icon-theme
|
||||
pkgs.phinger-cursors
|
||||
pkgs.tokyonight-gtk-theme
|
||||
# Backend dev tools
|
||||
pkgs.lua54Packages.lua
|
||||
pkgs.luajitPackages.luarocks
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
package = theme.iconTheme.package;
|
||||
};
|
||||
theme = {
|
||||
name = theme.theme.name;
|
||||
package = theme.theme.package;
|
||||
name = theme.gtkTheme.name;
|
||||
package = theme.gtkTheme.package;
|
||||
};
|
||||
cursorTheme = {
|
||||
name = theme.cursorTheme.name;
|
||||
@@ -39,13 +39,34 @@
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# QT theming
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme.name = "kvantum";
|
||||
style.name = "kvantum";
|
||||
};
|
||||
|
||||
xdg.configFile."Kvantum/kvantum.kvconfig".text = ''
|
||||
[General]
|
||||
theme=${theme.qtTheme.name}
|
||||
'';
|
||||
|
||||
# dconf theming settings
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
gtk-theme = theme.theme.name;
|
||||
gtk-theme = theme.gtkTheme.name;
|
||||
icon-theme = theme.iconTheme.name;
|
||||
cursor-theme = theme.cursorTheme.name;
|
||||
};
|
||||
};
|
||||
|
||||
# Ensure theming packages are installed
|
||||
home.packages = [
|
||||
theme.gtkTheme.package
|
||||
theme.qtTheme.package
|
||||
theme.iconTheme.package
|
||||
theme.cursorTheme.package
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user