Skip to content

Commit ed04364

Browse files
committed
Added fluent brightness value toggle
1 parent dc7de16 commit ed04364

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Core/AppearanceStyles/Fluent.inc

500 Bytes
Binary file not shown.

Main/Layout/Fluent.inc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ LeftMouseDownAction=[!SetOption MediaHoverCircle Stroke "Stroke Color #FontColor
4343
OnUpdateAction=[!SetOption VolumeString Text """[&Func:volumeLevel()]"""][!SetOption VolumeString FontFace "#FontFace#"]
4444

4545
[mBrightness]
46-
IfCondition=(mBrightness = 0)
46+
IfCondition=(mBrightness = 0) && (#ShowBrightnessVal# = 0)
4747
IfTrueAction=[!SetOption VolumeString Text "[\xEC8A]"][!SetOption VolumeString FontFace "Segoe MDL2 Assets"]
48-
IfCondition2=(mBrightness > 0)
48+
IfCondition2=(mBrightness > 0) && (#ShowBrightnessVal# = 0)
4949
IfTrueAction2=[!SetOption VolumeString Text "[\xE706]"][!SetOption VolumeString FontFace "Segoe MDL2 Assets"]
50+
IfCondition3=(#ShowBrightnessVal# = 1)
51+
IfTrueAction3=[!SetOption VolumeString Text "[mBrightness:]%"][!SetOption VolumeString FontFace "#fontFace#"]
5052
IfConditionMode=1
5153

5254
[FrostedGlass]

Main/Vars/Fluent.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ FontFace=Segoe UI
55
Border=1
66
Cap=Round
77

8+
ShowBrightnessVal=0
9+
810
PrimaryColor=12,12,12
911
PrimaryOpacity=185
1012
FontColor=255,255,255

0 commit comments

Comments
 (0)