some minor refactor
This commit is contained in:
@@ -20,7 +20,7 @@ in {
|
||||
name = "Adwaita";
|
||||
size = 28;
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
x11.enable = false;
|
||||
};
|
||||
};
|
||||
gtk = {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
config,
|
||||
osConfig,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
@@ -24,9 +25,9 @@ in {
|
||||
splash_offset = 2.0;
|
||||
|
||||
preload = [
|
||||
"~/media/images/l_ash08_big.jpg"
|
||||
"~/media/images/l_ash09_big.jpg"
|
||||
"~/media/images/l_int06_big.jpg"
|
||||
"~/media/images/bg_1.jpg"
|
||||
"~/media/images/bg_2.jpg"
|
||||
"~/media/images/bg_3.jpg"
|
||||
"~/media/images/by_housevisit_2560.jpg"
|
||||
"~/media/images/nix.png"
|
||||
"~/media/images/stacks.png"
|
||||
@@ -42,12 +43,11 @@ in {
|
||||
|
||||
wallpaper = [
|
||||
# cnix
|
||||
"DP-3,~/media/images/l_ash08_big.jpg"
|
||||
# adampad
|
||||
"eDP-1,~/media/images/l_ash08_big.jpg"
|
||||
"DP-3,${config.theme.background.desktop}"
|
||||
# cnixpad
|
||||
"eDP-1,${config.theme.background.desktop}"
|
||||
# toothpc
|
||||
"DVI-D-1,~/media/images/l_ash08_big.jpg"
|
||||
# "DP-1,/share/wallpapers/cat_pacman.png"
|
||||
"DVI-D-1,${config.theme.background.desktop}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption mkForce elem;
|
||||
browser =
|
||||
if elem osConfig.networking.hostName ["cnix" "cnixpad" "toothpc"]
|
||||
if elem osConfig.networking.hostName ["cnix" "cnixpad"]
|
||||
then "zen.desktop"
|
||||
else "firefox.desktop";
|
||||
cfg = config.home.services.xdg;
|
||||
@@ -15,6 +15,31 @@ in {
|
||||
home.services.xdg.enable = mkEnableOption "Enables XDG settings";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
xresources.properties = {
|
||||
"Xcursor.size" = config.home.pointerCursor.size;
|
||||
"Xcursor.theme" = config.home.pointerCursor.name;
|
||||
|
||||
"XTerm*.foreground" = "#d5c4a1";
|
||||
"XTerm*.background" = "#282828";
|
||||
"XTerm*.cursorColor" = "#d5c4a1";
|
||||
"XTerm*.color0" = "#282828";
|
||||
"XTerm*.color1" = "#fb4934";
|
||||
"XTerm*.color2" = "#b8bb26";
|
||||
"XTerm*.color3" = "#fabd2f";
|
||||
"XTerm*.color4" = "#83a598";
|
||||
"XTerm*.color5" = "#d3869b";
|
||||
"XTerm*.color6" = "#8ec07c";
|
||||
"XTerm*.color7" = "#d5c4a1";
|
||||
"XTerm*.color8" = "#665c54";
|
||||
"XTerm*.color9" = "#fe8019";
|
||||
"XTerm*.color10" = "#3c3836";
|
||||
"XTerm*.color11" = "#504945";
|
||||
"XTerm*.color12" = "#bdae93";
|
||||
"XTerm*.color13" = "#ebdbb2";
|
||||
"XTerm*.color14" = "#d65d0e";
|
||||
"XTerm*.color15" = "#fbf1c7";
|
||||
};
|
||||
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user