remarkable/tempfix: xovi restart on exiting with KO_RESTART_XOVI_ON_EXIT environment variable

This commit is contained in:
lepeli
2025-08-01 18:58:20 +02:00
parent 43da969fe9
commit fa91c97441

View File

@@ -354,6 +354,9 @@ function Remarkable:exit()
if isRmPaperPro then
os.execute("mv -f ~/.config/remarkable/xochitl.conf.bak ~/.config/remarkable/xochitl.conf")
end
if os.getenv("KO_RESTART_XOVI_ON_EXIT") == "1" then
os.execute("~/xovi/start")
end
Generic.exit(self)
end