nix/home-manager/common/desktops/xfce/themes/gruvbox/default.nix

64 lines
1.8 KiB
Nix
Raw Normal View History

2023-12-05 12:30:44 +01:00
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, hostname, username, ... }: with lib.hm.gvariant;
let
# General Theming
font = "FontAwesome Bold 11";
font-doc = "FontAwesome Regular 11";
font-mono = "JetBrainsMono Nerd Font Propo Medium 11";
# Day Variant
day-wallpaper = "file:///etc/nixos/git/wallpapers/gruvbox/wallpaper9.jpg";
day-gtk-theme = "";
day-shell-theme = "vimix-doder";
day-icon-theme = "Vimix-Doder";
# Night Variant
night-wallpaper = "file:///etc/nixos/git/wallpapers/gruvbox/wallpaper12.jpg";
night-gtk-theme = "";
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-light";
font-antialiasing = "rgba";
font-hinting = "slight";
gtk-theme = "${day-gtk-theme}";
icon-theme = "${night-icon-theme}";
monospace-font-name = "${font-mono}";
font-name = "${font}";
document-font-name = "${font-doc}";
show-battery-percentage = false;
};
};
}