nixos-config/home/modules/gtk.nix

76 lines
1.9 KiB
Nix

{
config,
pkgs,
inputs,
lib,
...
}: {
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
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"
"burn-my-windows@schneegans.github.com"
"desktop-cube@schneegans.github.com"
"Vitals@CoreCoding.com"
"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
gnomeExtensions.burn-my-windows
gnomeExtensions.desktop-cube
catppuccin-cursors.mochaPink
]);
# home.pointerCursor = {
# gtk.enable = true;
# x11.enable = true;
# name = "Catppuccin-Mocha-Pink-Cursors";
# package = pkgs.catppuccin-cursors.mochaPink;
# # size = 24;
# };
}