mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 06:33:56 -05:00
cinnamon/gnome: reorganized dconf settings and moved theming to theme.nix
This commit is contained in:
parent
0f15724d84
commit
429316ac46
|
@ -8,42 +8,33 @@
|
|||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"org/cinnamon/desktop/background".picture-uri = "file://${config.alyraffauf.theme.wallpaper}";
|
||||
"org/cinnamon/desktop/interface".cursor-size = config.alyraffauf.theme.cursorTheme.size;
|
||||
"org/cinnamon/desktop/interface".cursor-theme = config.alyraffauf.theme.cursorTheme.name;
|
||||
"org/cinnamon/desktop/interface".font-name = "${config.alyraffauf.theme.font.name} Regular ${toString config.alyraffauf.theme.font.size}";
|
||||
"org/cinnamon/desktop/interface".gtk-theme = config.alyraffauf.theme.gtk.name;
|
||||
"org/cinnamon/desktop/interface".icon-theme = config.alyraffauf.theme.iconTheme.name;
|
||||
"org/cinnamon/desktop/peripherals/touchpad".click-method = "fingers";
|
||||
"org/cinnamon/desktop/wm/preferences".titlebar-font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
|
||||
"org/cinnamon/gestures".enabled = true;
|
||||
"org/cinnamon/muffin".workspace-cycle = true;
|
||||
"org/cinnamon/muffin".workspaces-only-on-primary = true;
|
||||
"org/cinnamon/settings-daemon/peripherals/touchscreen".orientation-lock = false;
|
||||
"org/cinnamon/theme".name = config.alyraffauf.theme.gtk.name;
|
||||
"org/gnome/desktop/interface".cursor-size = config.alyraffauf.theme.cursorTheme.size;
|
||||
"org/gnome/desktop/interface".cursor-theme = config.alyraffauf.theme.cursorTheme.name;
|
||||
"org/gnome/desktop/interface".gtk-theme = config.alyraffauf.theme.gtk.name;
|
||||
"org/gnome/desktop/interface".icon-theme = config.alyraffauf.theme.iconTheme.name;
|
||||
"org/gnome/desktop/interface".monospace-font-name = "${config.alyraffauf.theme.terminalFont.name} Regular ${toString config.alyraffauf.theme.terminalFont.size}";
|
||||
"org/gnome/desktop/peripherals/touchpad".natural-scroll = true;
|
||||
"org/gnome/desktop/peripherals/touchpad".tap-to-click = true;
|
||||
"org/gnome/desktop/wm/preferences".titlebar-font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
|
||||
"org/nemo/desktop".font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
|
||||
"org/cinnamon/desktop/wm/preferences" = {
|
||||
focus-mode = "mouse";
|
||||
mouse-button-modifier = "<Super>";
|
||||
|
||||
"org/cinnamon/muffin" = {
|
||||
attach-modal-dialogs = true;
|
||||
workspace-cycle = true;
|
||||
workspaces-only-on-primary = true;
|
||||
};
|
||||
|
||||
"org/cinnamon/settings-daemon/peripherals/touchscreen".orientation-lock = false;
|
||||
|
||||
"org/gnome/desktop/peripherals/touchpad" = {
|
||||
natural-scroll = true;
|
||||
tap-to-click = true;
|
||||
};
|
||||
|
||||
"org/gnome/desktop/wm/preferences" = {
|
||||
focus-mode = "mouse";
|
||||
mouse-button-modifier = "<Super>";
|
||||
};
|
||||
"org/cinnamon/muffin".attach-modal-dialogs = true;
|
||||
|
||||
"org/cinnamon/desktop/keybindings/media-keys" = {
|
||||
www = ["XF86WWW" "<Super>b"];
|
||||
terminal = ["<Primary><Alt>" "<Super>t"];
|
||||
home = ["<Super>f" "XF86Explorer"];
|
||||
};
|
||||
|
||||
"org/cinnamon/desktop/keybindings/wm" = {
|
||||
# TODO: Declaratively disable conflict with panel applet.
|
||||
close = ["<Alt>F4" "<Super>c"];
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"org/gtk/gtk4/settings/file-chooser".sort-directories-first = true;
|
||||
"org/gtk/settings/file-chooser".sort-directories-first = true;
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = ["qemu:///system"];
|
||||
uris = ["qemu:///system"];
|
||||
|
|
|
@ -8,14 +8,22 @@
|
|||
dconf.enable = true;
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/datetime".automatic-timezone = true;
|
||||
"org/gnome/desktop/interface".clock-format = "12h";
|
||||
"org/gnome/desktop/interface".enable-hot-corners = true;
|
||||
|
||||
"org/gnome/desktop/interface" = {
|
||||
clock-format = "12h";
|
||||
enable-hot-corners = true;
|
||||
};
|
||||
|
||||
"org/gnome/desktop/peripherals/touchpad".tap-to-click = true;
|
||||
"org/gnome/desktop/search-providers".enabled = "['org.gnome.Calendar.desktop', 'org.gnome.Weather.desktop', 'org.gnome.Contacts.desktop', 'org.gnome.Calculator.desktop', 'org.gnome.Characters.desktop', 'org.gnome.clocks.desktop']";
|
||||
"org/gnome/desktop/wm/preferences".auto-raise = true;
|
||||
"org/gnome/mutter".dynamic-workspaces = true;
|
||||
"org/gnome/mutter".edge-tiling = true;
|
||||
"org/gnome/mutter".workspaces-only-on-primary = true;
|
||||
|
||||
"org/gnome/mutter" = {
|
||||
dynamic-workspaces = true;
|
||||
edge-tiling = true;
|
||||
workspaces-only-on-primary = true;
|
||||
};
|
||||
|
||||
"org/gnome/shell".enabled-extensions = [
|
||||
"appindicatorsupport@rgcjonas.gmail.com"
|
||||
"blur-my-shell@aunetx"
|
||||
|
@ -26,16 +34,19 @@
|
|||
"tiling-assistant@leleat-on-github"
|
||||
"drive-menu@gnome-shell-extensions.gcampax.github.com"
|
||||
];
|
||||
|
||||
"org/gnome/shell/extensions/blur-my-shell/overview".style-components = 3;
|
||||
"org/gnome/shell/extensions/blur-my-shell/panel".blur = false;
|
||||
"org/gnome/shell/extensions/blur-my-shell/panel".customize = true;
|
||||
"org/gnome/shell/extensions/blur-my-shell/panel".override-background = false;
|
||||
"org/gnome/shell/extensions/blur-my-shell/panel".override-background-dynamically = false;
|
||||
"org/gnome/shell/extensions/blur-my-shell/panel".style-panel = 0;
|
||||
"org/gnome/shell/extensions/blur-my-shell/panel".unblur-in-overview = true;
|
||||
|
||||
"org/gnome/shell/extensions/blur-my-shell/panel" = {
|
||||
blur = false;
|
||||
customize = true;
|
||||
override-background = false;
|
||||
override-background-dynamically = false;
|
||||
style-panel = 0;
|
||||
unblur-in-overview = true;
|
||||
};
|
||||
|
||||
"org/gnome/system/location".enabled = true;
|
||||
"org/gtk/gtk4/settings/file-chooser".sort-directories-first = true;
|
||||
"org/gtk/settings/file-chooser".sort-directories-first = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -90,12 +90,32 @@
|
|||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
"org/cinnamon/desktop/background".picture-uri = "file://${config.alyraffauf.theme.wallpaper}";
|
||||
|
||||
"org/cinnamon/desktop/interface" = {
|
||||
cursor-size = config.alyraffauf.theme.cursorTheme.size;
|
||||
cursor-theme = config.alyraffauf.theme.cursorTheme.name;
|
||||
font-name = "${config.alyraffauf.theme.font.name} Regular ${toString config.alyraffauf.theme.font.size}";
|
||||
gtk-theme = config.alyraffauf.theme.gtk.name;
|
||||
color-scheme = "prefer-dark";
|
||||
icon-theme = config.alyraffauf.theme.iconTheme.name;
|
||||
};
|
||||
|
||||
"org/cinnamon/theme".name = config.alyraffauf.theme.gtk.name;
|
||||
"org/cinnamon/desktop/wm/preferences".titlebar-font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
|
||||
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme =
|
||||
if config.alyraffauf.theme.colors.preferDark
|
||||
then "prefer-dark"
|
||||
else "prefer-light";
|
||||
cursor-theme = config.alyraffauf.theme.cursorTheme.name;
|
||||
cursor-size = config.alyraffauf.theme.cursorTheme.size;
|
||||
gtk-theme = config.alyraffauf.theme.gtk.name;
|
||||
icon-theme = config.alyraffauf.theme.iconTheme.name;
|
||||
monospace-font-name = "${config.alyraffauf.theme.terminalFont.name} Regular ${toString config.alyraffauf.theme.terminalFont.size}";
|
||||
};
|
||||
|
||||
"org/gnome/desktop/wm/preferences".titlebar-font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue