Reconfigure Gnome

This commit is contained in:
iFargle 2024-01-01 21:31:15 +09:00
parent 2b0008cb3c
commit 9da8404228
5 changed files with 5 additions and 77 deletions

View file

@ -1,7 +1,6 @@
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix # Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, hostname, username, theme, ... }: { { lib, hostname, username, theme, ... }: {
imports = [ imports = [
./themes/${theme} ./gnome-dconf.nix
./common/gnome-dconf.nix
]; ];
} }

View file

@ -1,4 +0,0 @@
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, hostname, username, ... }: with lib.hm.gvariant; {
}

View file

@ -1,63 +0,0 @@
# 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;
};
};
}

View file

@ -67,11 +67,10 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Gnome Extensions # Gnome Extensions
gnomeExtensions.forge gnomeExtensions.arcmenu
gnomeExtensions.dash-to-dock gnomeExtensions.tiling-assistant
gnomeExtensions.dash-to-panel
gnomeExtensions.blur-my-shell gnomeExtensions.blur-my-shell
gnomeExtensions.vitals
gnomeExtensions.user-themes
gnomeExtensions.caffeine gnomeExtensions.caffeine
gnomeExtensions.hibernate-status-button gnomeExtensions.hibernate-status-button
gnomeExtensions.night-theme-switcher gnomeExtensions.night-theme-switcher
@ -81,16 +80,13 @@
gnome3.gnome-tweaks gnome3.gnome-tweaks
papirus-icon-theme papirus-icon-theme
dconf2nix # https://github.com/gvolpe/dconf2nix dconf2nix # https://github.com/gvolpe/dconf2nix
# Tweak libadwaita themes
gradience
adw-gtk3
gnome.gnome-session gnome.gnome-session
]; ];
imports = [ imports = [
# Gnome Themes # Gnome Themes
./themes/arc.nix # ./themes/arc.nix
# ./themes/gruvbox.nix # ./themes/gruvbox.nix
# ./themes/tokyo-night.nix # ./themes/tokyo-night.nix
# ./themes/nordic.nix # ./themes/nordic.nix