forked from Shinonome/dots-hyprland
auto color scheme: dont use "content"
This commit is contained in:
@@ -30,12 +30,7 @@ def image_colorfulness(image):
|
|||||||
# scheme-content respects the image's colors very well, but it might
|
# scheme-content respects the image's colors very well, but it might
|
||||||
# look too saturated, so we only use it for not very colorful images to be safe
|
# look too saturated, so we only use it for not very colorful images to be safe
|
||||||
def pick_scheme(colorfulness):
|
def pick_scheme(colorfulness):
|
||||||
if colorfulness < 10:
|
if colorfulness < 40:
|
||||||
# return "scheme-monochrome"
|
|
||||||
return "scheme-content"
|
|
||||||
elif colorfulness < 20:
|
|
||||||
return "scheme-content"
|
|
||||||
elif colorfulness < 50:
|
|
||||||
return "scheme-neutral"
|
return "scheme-neutral"
|
||||||
else:
|
else:
|
||||||
return "scheme-tonal-spot"
|
return "scheme-tonal-spot"
|
||||||
|
|||||||
Reference in New Issue
Block a user