nix/home-manager/common/desktops/gnome/themes/default/default.nix

65 lines
1.9 KiB
Nix
Raw Normal View History

2023-09-29 07:44:09 +02:00
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, hostname, username, ... }: with lib.hm.gvariant;
let
2023-09-29 09:54:20 +02:00
# General Theming
font = "JetBrainsMonoNL Nerd Font Propo Thin 11";
font-mono = "JetBrainsMono Nerd Font 10";
font-doc = "JetBrainsMonoNL Nerd Font 11";
2023-09-29 07:44:09 +02:00
# Day Variant
2023-09-29 07:51:10 +02:00
day-wallpaper = "file:///etc/nixos/git/wallpapers/default/wallpaper1.png";
2023-09-29 09:46:49 +02:00
day-gtk-theme = "Fluent-Light-compact";
day-shell-theme = "Fluent-compact";
day-icon-theme = "Papirus";
2023-09-29 07:44:09 +02:00
# Night Variant
2023-09-29 07:51:10 +02:00
night-wallpaper = "file:///etc/nixos/git/wallpapers/default/wallpaper1.png";
2023-09-29 09:46:49 +02:00
night-gtk-theme = "Fluent-Dark-compact";
night-shell-theme = "Fluent-Dark-compact";
night-icon-theme = "Papirus-Dark";
2023-09-29 07:44:09 +02:00
in {
2023-09-29 09:46:49 +02:00
# Gnome GTK Settings
gtk.theme = "${night-gtk-theme}";
2023-09-29 07:44:09 +02:00
# Gnome DCONF Settings
dconf.settings = {
"org/gnome/desktop/background" = {
picture-uri = "${day-wallpaper}";
picture-uri-dark = "${night-wallpaper}";
};
2023-09-29 09:46:49 +02:00
"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;
2023-09-29 09:54:20 +02:00
color-scheme = "prefer-light";
2023-09-29 09:46:49 +02:00
font-antialiasing = "rgba";
font-hinting = "slight";
2023-09-29 09:54:20 +02:00
gtk-theme = "${day-gtk-theme}";
2023-09-29 09:46:49 +02:00
icon-theme = "${night-icon-theme}";
2023-09-29 09:54:20 +02:00
monospace-font-name = "${font-mono}";
font-name = "${font}";
document-font-name = "${font-doc}";
2023-09-29 09:46:49 +02:00
show-battery-percentage = false;
};
2023-09-29 07:44:09 +02:00
};
}