dunst: fix opacity rounding (#965)
Link: https://github.com/danth/stylix/pull/965 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
4891f1471b
commit
6eea250b10
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ with config.lib.stylix.colors.withHashtag;
|
|||
with config.stylix.fonts;
|
||||
let
|
||||
dunstOpacity = lib.toHexString (
|
||||
((builtins.ceil (config.stylix.opacity.popups * 100)) * 255) / 100
|
||||
((builtins.floor (config.stylix.opacity.popups * 100 + 0.5)) * 255) / 100
|
||||
);
|
||||
in
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue