mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-24 09:47:29 -05:00
antiflashbang: add dedicated toggle, make disabling also restore brightness
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Waiting to run
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Waiting to run
This commit is contained in:
@@ -86,7 +86,7 @@ Singleton {
|
||||
property int rawMaxBrightness: 100
|
||||
property real brightness
|
||||
property real brightnessMultiplier: 1.0
|
||||
property real multipliedBrightness: Math.max(0, Math.min(1, brightness * brightnessMultiplier))
|
||||
property real multipliedBrightness: Math.max(0, Math.min(1, brightness * (Config.options.light.antiFlashbang.enable ? brightnessMultiplier : 1)))
|
||||
property bool ready: false
|
||||
property bool animateChanges: !monitor.isDdc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user