nixos/home/hyprland/gtk.nix
Evie Litherland-Smith 432207a239 Re-theme to tokyonight
Re-enable stylix auto mode, disable specific cases where there's a
better theme implementation (emacs, alacritty)

Update use of catppuccin to tokyonight theme, probably missed some
2023-10-12 07:21:40 +01:00

53 lines
1.4 KiB
Nix

{ pkgs, ... }:
let
catppuccin-gtk = pkgs.catppuccin-gtk.override {
accents = [ "lavender" ];
size = "compact";
tweaks = [ "rimless" ];
variant = "macchiato";
};
# delta-icon-theme = pkgs.callPackage ./pkgs/delta-icon-theme { };
candy-icon-theme = pkgs.callPackage ./pkgs/candy-icon-theme { };
in {
stylix.targets.gtk.enable = false;
home.packages = with pkgs; [
gnome.adwaita-icon-theme
libsForQt5.breeze-gtk
hicolor-icon-theme
];
gtk = {
enable = true;
cursorTheme = {
package = pkgs.catppuccin-cursors.macchiatoLavender;
name = "Catppuccin-Macchiato-Lavender-Cursors";
};
iconTheme = {
package = candy-icon-theme;
name = "candy-icons";
};
theme = {
package = catppuccin-gtk;
name = "Catppuccin-Macchiato-Compact-Lavender-dark";
};
};
xdg.configFile."gtklock/config.ini".text = let
powerbar = "${pkgs.gtklock-powerbar-module}/lib/gtklock/powerbar-module.so";
playerctl =
"${pkgs.gtklock-playerctl-module}/lib/gtklock/playerctl-module.so";
in ''
[main]
start-hidden=true
modules=${powerbar};${playerctl}
[powerbar]
reboot-command=systemctl reboot
poweroff-command=systemctl -i poweroff
suspend-command=systemctl suspend
logout-command=hyprctl dispatch exit
[playerctl]
art-size=64
position=below-clock
'';
}