added launcher and fixes some error in config.py and in applications.py
This commit is contained in:
30 files changed
+3459
-214
No files matched your search
+13
-8
@@ -1,10 +1,10 @@
|
||||
# Parameters
|
||||
font_family: str = 'tabler-icons'
|
||||
font_weight: str = 'normal'
|
||||
font_family: str = "tabler-icons"
|
||||
font_weight: str = "normal"
|
||||
|
||||
span: str = f"<span font-family='{font_family}' font-weight='{font_weight}'>"
|
||||
|
||||
#Panels
|
||||
# Panels
|
||||
apps: str = ""
|
||||
dashboard: str = ""
|
||||
chat: str = ""
|
||||
@@ -14,7 +14,7 @@ windows: str = ""
|
||||
colorpicker: str = ""
|
||||
media: str = ""
|
||||
|
||||
#Toolbox
|
||||
# Toolbox
|
||||
|
||||
toolbox: str = ""
|
||||
ssfull: str = ""
|
||||
@@ -26,7 +26,7 @@ recordings: str = ""
|
||||
ocr: str = "ﳃ"
|
||||
gamemode: str = ""
|
||||
gamemode_off: str = ""
|
||||
close : str = ""
|
||||
close: str = ""
|
||||
|
||||
# Circles
|
||||
temp: str = ""
|
||||
@@ -90,7 +90,7 @@ bluetooth_off: str = ""
|
||||
night_off: str = ""
|
||||
notifications_off: str = ""
|
||||
|
||||
notifications_clear: str = "";
|
||||
notifications_clear: str = ""
|
||||
|
||||
download: str = ""
|
||||
upload: str = ""
|
||||
@@ -177,6 +177,9 @@ terminal: str = ""
|
||||
timer_off: str = ""
|
||||
timer_on: str = ""
|
||||
spy: str = ""
|
||||
calculator: str = ""
|
||||
file: str = ""
|
||||
|
||||
|
||||
# Dice
|
||||
dice_1: str = ""
|
||||
@@ -186,12 +189,14 @@ dice_4: str = ""
|
||||
dice_5: str = ""
|
||||
dice_6: str = ""
|
||||
|
||||
exceptions: list[str] = ['font_family', 'font_weight', 'span']
|
||||
exceptions: list[str] = ["font_family", "font_weight", "span"]
|
||||
|
||||
|
||||
def apply_span() -> None:
|
||||
global_dict = globals()
|
||||
for key in global_dict:
|
||||
if key not in exceptions and not key.startswith('__'):
|
||||
if key not in exceptions and not key.startswith("__"):
|
||||
global_dict[key] = f"{span}{global_dict[key]}</span>"
|
||||
|
||||
|
||||
apply_span()
|
||||
Reference in new issue
Block a user