d-rez/gbz_overlay

Remove the symbolic link requirement

d-rez opened this issue · 1 comments

d-rez commented

There must be a better way than creating that silly symlink

bverc commented

Not elegant, but this works:

bat_iconpath = iconpath + "ic_battery_" + level_icon + "_white_" + str(dpi) + "dp.png"
if (level_icon == "alert_red"):
  bat_iconpath = iconpath2 + "battery-alert_" + str(dpi) + ".png"
overlay_processes["bat"] = subprocess.Popen(pngview_call + [ "0", bat_iconpath])