nixos/home/hyprland/gtk.nix
Evie Litherland-Smith 2a42c14fb5 Lots more theming
Switch remaining catppuccin to tokyonight, using stylix to generate GTK
theme now

Switch SDDM for LightDM (uses stylix theme), enable plymouth boot
splashscreen

Make Hyprland window rules (not launch binds) silent now
2023-10-14 20:49:30 +01:00

40 lines
939 B
Nix

{ pkgs, ... }:
{
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 = pkgs.papirus-icon-theme;
name = "Papirus-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
'';
}