From 66ff8d06d98a1d9f4cd7a895e8428e9f6522ec8a Mon Sep 17 00:00:00 2001
From: "Azalea (on HyDEV-Daisy)" <me@hydev.org>
Date: Sun, 3 Jul 2022 12:46:37 -0400
Subject: [PATCH] [F] Fix lightness config reading

---
 hyfetch/main.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hyfetch/main.py b/hyfetch/main.py
index 98e37389..dc74478c 100755
--- a/hyfetch/main.py
+++ b/hyfetch/main.py
@@ -299,9 +299,9 @@ def run():
     if args.scale:
         preset = preset.lighten(args.scale)
     if args.light:
-        preset = preset.set_light(args.light)
+        preset = preset.set_light_raw(args.light)
     if config.lightness:
-        preset = preset.set_light(config.lightness)
+        preset = preset.set_light_dl(config.lightness)
 
     # Debug recommendations
     if args.debug_list: