nix/home-manager/common/desktops/gnome/themes/gruvbox/default.nix
2023-09-29 14:09:58 +09:00

59 lines
1.8 KiB
Nix

# 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/gruvbox/wallpaper10.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-gtk-theme = "Gruvbox-Dark-BL";
night-shell-theme = "Gruvbox-Dark-BL";
night-icon-theme = "Nordzy-yellow-dark";
in {
# Gnome GTK Settings
gtk.theme = "${night-gtk-theme}";
# Gnome DCONF Settings
dconf.settings = {
"org/gnome/desktop/background" = {
picture-uri = "${day-wallpaper}";
picture-uri-dark = "${night-wallpaper}";
};
"org/gnome/shell/extensions/nightthemeswitcher/gtk-variants" = {
enabled = true;
day = "${day-gtk-theme}";
night = "${night-gtk-theme}";
};
"org/gnome/shell/extensions/nightthemeswitcher/icon-variants" = {
enabled = true;
day = "${day-icon-theme}";
night = "${night-icon-theme}";
};
"org/gnome/shell/extensions/nightthemeswitcher/shell-variants" = {
enabled = true;
day = "${day-shell-theme}";
night = "${night-shell-theme}";
};
"org/gnome/desktop/interface" = {
clock-show-date = true;
clock-show-weekday = false;
color-scheme = "prefer-dark";
document-font-name = "JetBrainsMonoNL Nerd Font 11";
font-antialiasing = "rgba";
font-hinting = "slight";
font-name = "JetBrainsMonoNL Nerd Font Propo Thin 11";
gtk-theme = "Gruvbox-Dark-BL";
icon-theme = "${night-icon-theme};
monospace-font-name = "JetBrainsMono Nerd Font 10";
show-battery-percentage = false;
};
};
}