nixos-config/home/modules/gtk.nix

76 lines
1.9 KiB
Nix
Raw Normal View History

{
config,
pkgs,
inputs,
lib,
...
}: {
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
2024-04-13 20:43:41 +02:00
cursor-theme = "Catppuccin-Mocha-Pink-Cursors";
};
"org/gnome/shell" = {
disable-user-extensions = false;
# `gnome-extensions list` for a list
enabled-extensions = [
"user-theme@gnome-shell-extensions.gcampax.github.com"
"trayIconsReloaded@selfmade.pl"
2024-04-18 13:31:55 +02:00
"burn-my-windows@schneegans.github.com"
"desktop-cube@schneegans.github.com"
"Vitals@CoreCoding.com"
2024-04-09 13:36:07 +02:00
"dash-to-panel@jderose9.github.com"
# "blur-my-shell@aunetx"
# "sound-output-device-chooser@kgshank.net"
"space-bar@luchrioh"
];
};
"org/gnome/shell/extensions/user-theme" = {
name = "Catppuccin-Mocha-Compact-Pink-Dark";
};
};
gtk = {
enable = true;
theme = {
name = "Catppuccin-Mocha-Compact-Pink-Dark";
package = pkgs.catppuccin-gtk.override {
accents = ["pink"];
size = "compact";
tweaks = ["rimless"];
variant = "mocha";
};
};
#gtk3.extraConfig = {
# Settings = ''
# gtk-application-prefer-dark-theme=1
# '';
#};
gtk4.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
'';
};
};
home.packages = lib.optionals (config.os == "linux") (with pkgs; [
gnomeExtensions.user-themes
gnomeExtensions.blur-my-shell
gnomeExtensions.tray-icons-reloaded
gnomeExtensions.vitals
gnomeExtensions.dash-to-panel
gnomeExtensions.sound-output-device-chooser
gnomeExtensions.space-bar
2024-04-13 20:43:41 +02:00
gnomeExtensions.burn-my-windows
gnomeExtensions.desktop-cube
catppuccin-cursors.mochaPink
]);
2024-04-18 13:31:55 +02:00
# home.pointerCursor = {
# gtk.enable = true;
# x11.enable = true;
# name = "Catppuccin-Mocha-Pink-Cursors";
# package = pkgs.catppuccin-cursors.mochaPink;
# # size = 24;
# };
}