From 03fe2365a8672d9650cac8e4f8eb00c52d477082 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 29 Sep 2023 14:44:09 +0900 Subject: [PATCH] test --- .../desktops/gnome/themes/default/default.nix | 19 ++++++++++++++++--- .../desktops/gnome/themes/gruvbox/default.nix | 6 +++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/home-manager/common/desktops/gnome/themes/default/default.nix b/home-manager/common/desktops/gnome/themes/default/default.nix index 544b7b4d..07fc4282 100644 --- a/home-manager/common/desktops/gnome/themes/default/default.nix +++ b/home-manager/common/desktops/gnome/themes/default/default.nix @@ -1,3 +1,16 @@ -{ - -} \ No newline at end of file +# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix +{ lib, hostname, username, ... }: with lib.hm.gvariant; +let + # Day Variant + day-wallpaper = "file:///etc/nixos/git/wallpapers/default/wallpaper1.jpg"; + # Night Variant + night-wallpaper = "file:///etc/nixos/git/wallpapers/default/wallpaper1.jpg"; +in { + # Gnome DCONF Settings + dconf.settings = { + "org/gnome/desktop/background" = { + picture-uri = "${day-wallpaper}"; + picture-uri-dark = "${night-wallpaper}"; + }; + }; +} diff --git a/home-manager/common/desktops/gnome/themes/gruvbox/default.nix b/home-manager/common/desktops/gnome/themes/gruvbox/default.nix index 413bab5e..51838e0d 100644 --- a/home-manager/common/desktops/gnome/themes/gruvbox/default.nix +++ b/home-manager/common/desktops/gnome/themes/gruvbox/default.nix @@ -2,13 +2,13 @@ { lib, hostname, username, ... }: with lib.hm.gvariant; let # Day Variant - day-wallpaper = "file:///etc/nixos/git/wallpapers/gruvbox/wallpaper10.jpg"; + day-wallpaper = "file:///etc/nixos/git/wallpapers/gruvbox/wallpaper3.jpg"; day-gtk-theme = "vimix-doder"; day-shell-theme = "vimix-doder"; day-icon-theme = "Vimix-Doder"; # Night Variant - night-wallpaper = "file:///etc/nixos/git/wallpapers/gruvbox/wallpaper11.jpg"; + night-wallpaper = "file:///etc/nixos/git/wallpapers/gruvbox/wallpaper2.jpg"; night-gtk-theme = "Gruvbox-Dark-BL"; night-shell-theme = "Gruvbox-Dark-BL"; night-icon-theme = "Nordzy-yellow-dark"; @@ -50,7 +50,7 @@ in { font-hinting = "slight"; font-name = "JetBrainsMonoNL Nerd Font Propo Thin 11"; gtk-theme = "Gruvbox-Dark-BL"; - icon-theme = "${night-icon-theme}; + icon-theme = "${night-icon-theme}"; monospace-font-name = "JetBrainsMono Nerd Font 10"; show-battery-percentage = false; };