PepMiniiso/pmostools/peptools/refresh.py

23 lines
389 B
Python
Raw Normal View History

2023-11-19 13:16:45 -01:00
"""
* Author: "PepDebian(peppermintosteam@proton.me)
*
* License: SPDX-License-Identifier: GPL-3.0-or-later
*
* Used to refresh the data in the Kumo Gui
"""
2023-11-19 13:16:45 -01:00
import os
def refresh_win():
""" Open Kumo"""
# Set the user path
gusr = os.getlogin()
spath = "/home/" + gusr + "/.local/share/pmostools/peptools"
os.system('python3 ' + spath + '/kumo.py')
refresh_win()