From d0f0b3cc2c7b45f3b8278816c80a825847ac6829 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Fri, 19 Apr 2024 08:52:29 +0530 Subject: [PATCH] =?UTF-8?q?=E2=8F=B3=20@eshanized=20updated=20the=20reposi?= =?UTF-8?q?tory!!!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../blackbox/Functions_Ref_DO_NOT_MODIFY.py | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/usr/share/blackbox/Functions_Ref_DO_NOT_MODIFY.py b/usr/share/blackbox/Functions_Ref_DO_NOT_MODIFY.py index 0987a64..8ccb443 100644 --- a/usr/share/blackbox/Functions_Ref_DO_NOT_MODIFY.py +++ b/usr/share/blackbox/Functions_Ref_DO_NOT_MODIFY.py @@ -474,20 +474,6 @@ def install_alacritty(self): stderr=subprocess.STDOUT, ) - -def get_desktop(self): - base_dir = os.path.dirname(os.path.realpath(__file__)) - - desktop = subprocess.run( - ["sh", base_dir + "/get_desktop.sh", "-n"], - shell=False, - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, - ) - dsk = desktop.stdout.decode().strip().split("\n") - self.desktop = dsk[-1].strip() - - def copytree(self, src, dst, symlinks=False, ignore=None): # noqa if not os.path.exists(dst): @@ -535,12 +521,3 @@ def checkIfProcessRunning(processName): def restart_program(): python = sys.executable os.execl(python, python, *sys.argv) - - -# JUNK CODE FOR LEARNING PROGRESS BARS: -# from tqdm import tqdm -# loop = tqdm(total = 1000, position = 0, leave = False) -# for k in range(1001): -# loop.set_description("Loading...".format(k)) -# loop.update(1) -# loop.close