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

28 lines
1.1 KiB
Python
Raw 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 = {
"album": f"{lib_dir}/usr/share/sonist/album.png",
"all": f"{lib_dir}/usr/share/sonist/all.png",
"avatar": f"{lib_dir}/usr/share/sonist/avatar.jpg",
"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"
}