remarkable: Restart xovi on exit when KO_USES_XOVI env variable is present

This commit is contained in:
lepeli
2025-07-27 04:07:45 +02:00
parent 074b34079d
commit f5e60f3d01

View File

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