Compare commits
No commits in common. "dc52a7098049809f017b9d85243c95956f30fc68" and "d1e4ada89d0948ee5173c2891a2296ffddd622f9" have entirely different histories.
dc52a70980
...
d1e4ada89d
4 changed files with 1 additions and 53 deletions
|
@ -59,9 +59,6 @@
|
|||
sound.enable = true;
|
||||
};
|
||||
usrEnv = {
|
||||
theming = {
|
||||
gtk.enable = true;
|
||||
};
|
||||
desktops.hyprland.enable = false;
|
||||
|
||||
programs = {
|
||||
|
|
|
@ -85,11 +85,11 @@ in {
|
|||
tor-browser
|
||||
trash-cli
|
||||
typst
|
||||
ungoogled-chromium
|
||||
util-linux
|
||||
v4l-utils
|
||||
vesktop
|
||||
vlc
|
||||
vscodium
|
||||
weechat
|
||||
wireguard-tools
|
||||
xournalpp
|
||||
|
|
|
@ -2,7 +2,5 @@ _: {
|
|||
imports = [
|
||||
./colors.nix
|
||||
./fonts.nix
|
||||
./gtk.nix
|
||||
./theming.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkMerge mkIf;
|
||||
inherit (lib.options) mkEnableOption;
|
||||
cfg = config.modules.usrEnv.theming;
|
||||
in {
|
||||
options.modules.usrEnv.theming = {
|
||||
gtk.enable = mkEnableOption "gtk theming";
|
||||
qt.enable = mkEnableOption "qt theming";
|
||||
};
|
||||
config = mkMerge [
|
||||
(mkIf cfg.gtk.enable {
|
||||
environment = {
|
||||
systemPackages = builtins.attrValues {
|
||||
inherit (pkgs) rose-pine-cursor;
|
||||
};
|
||||
etc = {
|
||||
"xdg/gtk-4.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-application-prefer-dark-theme=true
|
||||
gtk-cursor-theme-name=BreezeX-RosePine-Linux
|
||||
'';
|
||||
|
||||
"xdg/gtk-3.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-application-prefer-dark-theme=true
|
||||
gtk-cursor-theme-name=BreezeX-RosePine-Linux
|
||||
'';
|
||||
|
||||
"xdg/gtk-2.0/gtkrc".text = ''
|
||||
gtk-cursor-theme-name = "BreezeX-RosePine-Linux"
|
||||
gtk-cursor-theme-size = 30
|
||||
'';
|
||||
|
||||
"xdg/Xresources".text = ''
|
||||
Xcursor.size: 30
|
||||
Xcursor.theme: BreezeX-RosePine-Linux
|
||||
'';
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue