145 lines
2.9 KiB
Python
145 lines
2.9 KiB
Python
# Parameters
|
|
font_family: str = "tabler-icons"
|
|
font_weight: str = "normal"
|
|
|
|
span: str = f"<span font-family='{font_family}' font-weight='{font_weight}'>"
|
|
|
|
# Panels
|
|
apps: str = ""
|
|
dashboard: str = ""
|
|
chat: str = ""
|
|
wallpapers: str = ""
|
|
windows: str = ""
|
|
|
|
# Bar
|
|
colorpicker: str = ""
|
|
media: str = ""
|
|
|
|
# Circles
|
|
temp: str = ""
|
|
disk: str = ""
|
|
battery: str = ""
|
|
memory: str = "流"
|
|
cpu: str = ""
|
|
swap: str = ""
|
|
|
|
|
|
# Wallpapers
|
|
add: str = ""
|
|
sort: str = ""
|
|
circle: str = ""
|
|
check_box: str = ""
|
|
box: str = ""
|
|
scan: str = ""
|
|
scan_stop: str = ""
|
|
record: str = ""
|
|
update: str = "見"
|
|
updated: str = ""
|
|
|
|
# Chevrons
|
|
chevron_up: str = ""
|
|
chevron_down: str = ""
|
|
chevron_left: str = ""
|
|
chevron_right: str = ""
|
|
|
|
# Power
|
|
lock: str = ""
|
|
suspend: str = ""
|
|
logout: str = ""
|
|
reboot: str = ""
|
|
shutdown: str = ""
|
|
|
|
# Power Manager
|
|
power_saving: str = ""
|
|
power_balanced: str = "勺"
|
|
power_performance: str = ""
|
|
charging: str = ""
|
|
discharging: str = ""
|
|
alert: str = ""
|
|
|
|
# Applets
|
|
wifi: str = ""
|
|
bluetooth: str = ""
|
|
night: str = ""
|
|
coffee: str = ""
|
|
dnd: str = ""
|
|
darkmode: str = "﹖"
|
|
world: str = ""
|
|
|
|
wifi_off: str = ""
|
|
bluetooth_off: str = ""
|
|
night_off: str = ""
|
|
dnd_off: str = ""
|
|
mic_off: str = ""
|
|
|
|
# Bluetooth
|
|
bluetooth_connected: str = ""
|
|
bluetooth_disconnected: str = ""
|
|
|
|
|
|
# Player
|
|
pause: str = ""
|
|
play: str = ""
|
|
stop: str = ""
|
|
skip_back: str = ""
|
|
skip_forward: str = ""
|
|
prev: str = ""
|
|
next: str = ""
|
|
shuffle: str = ""
|
|
repeat: str = ""
|
|
music: str = ""
|
|
rewind_backward_5: str = "謹"
|
|
rewind_forward_5: str = "難"
|
|
|
|
# Volume
|
|
vol_off: str = ""
|
|
vol_mute: str = ""
|
|
vol_medium: str = ""
|
|
vol_high: str = ""
|
|
|
|
# Network
|
|
lan: str = ""
|
|
moderate_signal: str = ""
|
|
good_signal: str = ""
|
|
no_signal: str = ""
|
|
weak_signal: str = ""
|
|
|
|
# Overview
|
|
circle_plus: str = ""
|
|
|
|
# Pins
|
|
copy_plus: str = "ﶮ"
|
|
paperclip: str = ""
|
|
|
|
# Confirm
|
|
accept: str = ""
|
|
cancel: str = ""
|
|
trash: str = ""
|
|
clear: str = ""
|
|
|
|
# Config
|
|
config: str = ""
|
|
|
|
# Icons
|
|
firefox: str = ""
|
|
chromium: str = ""
|
|
spotify: str = "ﺆ"
|
|
disc: str = "𐀾"
|
|
disc_off: str = ""
|
|
|
|
# Misc
|
|
dot: str = ""
|
|
palette: str = ""
|
|
|
|
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("__"):
|
|
global_dict[key] = f"{span}{global_dict[key]}</span>"
|
|
|
|
|
|
apply_span()
|