Add plugins for gtklock

This commit is contained in:
Evie Litherland-Smith 2023-09-27 13:57:32 +01:00
parent d26a3c4643
commit 0762f78ad6

View file

@ -27,4 +27,23 @@ in {
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
'';
}