fix: customTop/customBottom

This commit is contained in:
Peritia 2026-03-02 12:01:33 +01:00
parent 72ac487c58
commit b1cba25f63

View file

@ -4,13 +4,13 @@
nixosVista, nixosVista,
... ...
}: let }: let
cfg = config.nixosVista.hyprland; cfg = nixosVista.hyprland;
in { in {
############################################################ ############################################################
# Inject into fragment system # Inject into fragment system
############################################################ ############################################################
config = lib.mkIf (config.nixosVista.enable or false) { config = lib.mkIf nixosVista.enable {
nixosVista.hyprland.fragments.customTop = lib.mkIf (cfg.customTop != "") '' nixosVista.hyprland.fragments.customTop = lib.mkIf (cfg.customTop != "") ''
############################################################ ############################################################
# Your Custom User / nixosVista.hyprland.customTop # Your Custom User / nixosVista.hyprland.customTop