nixos/home/hyprland/gtk.nix

40 lines
939 B
Nix
Raw Normal View History

{ 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 = {
2023-10-13 15:00:51 +01:00
package = pkgs.papirus-icon-theme;
name = "Papirus-Dark";
};
};
2023-09-27 13:57:32 +01:00
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
'';
}