Split Gnome
This commit is contained in:
parent
3d814f9b79
commit
cc2beea510
3 changed files with 65 additions and 61 deletions
|
@ -1,22 +1,4 @@
|
||||||
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
|
{ lib, hostname, username, ... }: with lib.hm.gvariant; {
|
||||||
{ 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
|
# Gnome DCONF Settings
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"apps/seahorse/listing" = {
|
"apps/seahorse/listing" = {
|
||||||
|
@ -52,30 +34,10 @@ in {
|
||||||
translate = true;
|
translate = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"org/gnome/desktop/background" = {
|
|
||||||
picture-uri = "${day-wallpaper}";
|
|
||||||
picture-uri-dark = "${night-wallpaper}";
|
|
||||||
};
|
|
||||||
|
|
||||||
"org/gnome/desktop/calendar" = {
|
"org/gnome/desktop/calendar" = {
|
||||||
show-weekdate = false;
|
show-weekdate = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
"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 = "Nordzy-yellow-dark";
|
|
||||||
monospace-font-name = "JetBrainsMono Nerd Font 10";
|
|
||||||
show-battery-percentage = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
"org/gnome/desktop/notifications" = {
|
"org/gnome/desktop/notifications" = {
|
||||||
show-banners = true;
|
show-banners = true;
|
||||||
};
|
};
|
||||||
|
@ -129,24 +91,6 @@ in {
|
||||||
transparency-mode = "FIXED";
|
transparency-mode = "FIXED";
|
||||||
};
|
};
|
||||||
|
|
||||||
"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/shell/extensions/nightthemeswitcher/time" = {
|
"org/gnome/shell/extensions/nightthemeswitcher/time" = {
|
||||||
manual-schedule = true;
|
manual-schedule = true;
|
||||||
nightthemeswitcher-ondemand-keybinding = [ "<Shift><Super>t" ];
|
nightthemeswitcher-ondemand-keybinding = [ "<Shift><Super>t" ];
|
||||||
|
@ -176,5 +120,4 @@ in {
|
||||||
view-type = "list";
|
view-type = "list";
|
||||||
window-size = mkTuple [ 859 453 ];
|
window-size = mkTuple [ 859 453 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
|
|
@ -1,5 +1,7 @@
|
||||||
{ pkgs, theme, ... }: {
|
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
|
||||||
|
{ lib, hostname, username, theme, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./themes/${theme}/gnome-conf.nix
|
./themes/${theme}
|
||||||
|
./common/gnome-dconf.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
|
@ -0,0 +1,59 @@
|
||||||
|
# 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue