This commit is contained in:
Uyanide committed 2025-08-01 19:33:19 +02:00
1 parent cfee8957cc
commit 2c260be205
49 files changed
+31787 -302

No files matched your search

+8
View File
@@ -28,6 +28,8 @@
- wlogout: edit $HOME/.config/wlogout/style.css
edit $HOME/.config/wlogout/icons/*.svg
- fuzzel: edit $HOME/.config/fuzzel/fuzzel.ini
'''
import os
@@ -186,6 +188,12 @@ def change_wlogout(flavor):
apply_flavor(icon_dist, flavor)
def change_fuzzel(flavor):
fuzzel_template = Path.home().joinpath('.config', 'fuzzel', 'fuzzel.ini.template')
fuzzel_dist = copy_template(fuzzel_template, Path.home().joinpath('.config', 'fuzzel'))
apply_flavor(fuzzel_dist, flavor)
def match_color(color: str) -> str:
""" Matches a given color to the closest color in the palette."""
# HUE distance of the given and returned color must no<t exceed this value