sonist-gtk/usr/lib/sonist/assets.py

27 lines
1.0 KiB
Python
Raw Permalink Normal View History

2023-08-25 16:50:16 +08:00
#!/usr/bin/env python3
import os
lib_dir = os.getenv('SONIST_LIB_DIR') or ''
image_dict = {
2023-08-25 18:33:01 +08:00
"sonist": f"{lib_dir}/usr/share/sonist/sonist.png",
2023-08-25 16:50:16 +08:00
"all": f"{lib_dir}/usr/share/sonist/all.png",
"disk": f"{lib_dir}/usr/share/sonist/disk.png",
"handler": f"{lib_dir}/usr/share/sonist/handler.png",
"handler_a": f"{lib_dir}/usr/share/sonist/handler_a.png",
"info": f"{lib_dir}/usr/share/sonist/info.png",
"menu": f"{lib_dir}/usr/share/sonist/menu.png",
"mute": f"{lib_dir}/usr/share/sonist/mute.png",
"next": f"{lib_dir}/usr/share/sonist/next.png",
"pause": f"{lib_dir}/usr/share/sonist/pause.png",
"pin": f"{lib_dir}/usr/share/sonist/pin.png",
"play": f"{lib_dir}/usr/share/sonist/play.png",
"prev": f"{lib_dir}/usr/share/sonist/prev.png",
"rand": f"{lib_dir}/usr/share/sonist/rand.png",
"setting": f"{lib_dir}/usr/share/sonist/setting.png",
"single": f"{lib_dir}/usr/share/sonist/single.png",
"switch": f"{lib_dir}/usr/share/sonist/switch.png",
"volume": f"{lib_dir}/usr/share/sonist/volume.png"
}