services/greetd: fix environment variables

This commit is contained in:
Anthony Rodriguez 2025-02-03 11:48:51 +01:00
parent 7f110e40fc
commit 30548fd17e
Signed by: nezia
SSH key fingerprint: SHA256:Ihfpl0rUpqDevYqnzSR34OYfVLbDNkBiUjs3CpX4ykA

View file

@ -42,10 +42,10 @@ let
];
}
// optionalAttrs styleCfg.enable {
env = {
HYPRCURSOR_THEME = styleCfg.cursorTheme.name;
HYPRCURSOR_SIZE = styleCfg.cursorTheme.size;
};
env = [
"HYPRCURSOR_THEME,${styleCfg.cursorTheme.name}"
"HYPRCURSOR_SIZE,${toString styleCfg.cursorTheme.size}"
];
};
});
in {