Rename colors to theme, clean up color usage

This commit is contained in:
Elnu 2023-01-25 19:05:59 -08:00
parent 5d9fc8f4f3
commit a548fbba06
12 changed files with 60 additions and 60 deletions

View file

@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }:
let
colors = import ../colors;
theme = import ../theme;
in
{
services = {
@ -13,9 +13,9 @@ in
enable = true;
greeters.gtk = {
enable = true;
theme = colors.gtkTheme pkgs;
theme = theme.gtkTheme pkgs;
};
background = ../wallpapers/${colors.wallpaper};
background = ../wallpapers/${theme.wallpaper};
};
defaultSession = "none+i3";
};
@ -32,7 +32,7 @@ in
environment.sessionVariables = {
# GTK Theme won't display with GTK4 (e.g. nautilus) otherwise
# Doesn't work in some scenarios, such as open containing folder in Firefox, when declared in home.sessionVariables
GTK_THEME = (colors.gtkTheme pkgs).name;
GTK_THEME = (theme.gtkTheme pkgs).name;
};
# Enable OpenTabletDriver, GUI configurator is otd-gui