51 lines
1.2 KiB
Nix
51 lines
1.2 KiB
Nix
{ pkgs, ... }:
|
|
let
|
|
catppuccin-gtk = pkgs.catppuccin-gtk.override {
|
|
accents = [ "lavender" ];
|
|
size = "compact";
|
|
tweaks = [ "rimless" ];
|
|
variant = "macchiato";
|
|
};
|
|
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 = pkgs.papirus-icon-theme;
|
|
name = "Papirus-Dark";
|
|
};
|
|
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
|
|
'';
|
|
}
|