mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Applied stylix to qt apps
This commit is contained in:
parent
9db01c0df6
commit
cfb1187e76
4 changed files with 190 additions and 0 deletions
|
@ -56,4 +56,30 @@ in
|
|||
}+'';
|
||||
'';
|
||||
home.file.".fehbg-stylix".executable = true;
|
||||
home.file = {
|
||||
".config/qt5ct/colors/oomox-current.conf".source = config.lib.stylix.colors {
|
||||
template = builtins.readFile ./oomox-current.conf.mustache;
|
||||
extension = ".conf";
|
||||
};
|
||||
".config/Trolltech.conf".source = config.lib.stylix.colors {
|
||||
template = builtins.readFile ./Trolltech.conf.mustache;
|
||||
extension = ".conf";
|
||||
};
|
||||
".config/kdeglobals".source = config.lib.stylix.colors {
|
||||
template = builtins.readFile ./Trolltech.conf.mustache;
|
||||
extension = "";
|
||||
};
|
||||
".config/qt5ct/qt5ct.conf".text = pkgs.lib.mkBefore (builtins.readFile ./qt5ct.conf);
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
qt5ct pkgs.libsForQt5.breeze-qt5
|
||||
];
|
||||
home.sessionVariables = {
|
||||
QT_QPA_PLATFORMTHEME="qt5ct";
|
||||
};
|
||||
qt = {
|
||||
enable = true;
|
||||
style.package = pkgs.libsForQt5.breeze-qt5;
|
||||
style.name = "breeze-dark";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue