#!/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" }