file get_updated
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import os
|
||||
import json
|
||||
|
||||
# Gets colors from wallust wallpaper
|
||||
def get_colors():
|
||||
with open(f"{os.path.expanduser('~')}/.cache/qtile/colors.json") as f:
|
||||
colors = json.load(f)
|
||||
|
||||
return colors['colors']
|
||||
|
||||
colors = get_colors()
|
||||
Reference in New Issue
Block a user