add executable file and expanduser dir

This commit is contained in:
2026-06-10 17:10:46 +03:00
parent c7c344a1e4
commit 44394be923
3 changed files with 42 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ diff_d = input(f"{red}>>{red.OFF} 1 or enter -- no, 2 -- yes : {yellow.OFF}");
if (diff_d == 1 or diff_d == "") :
print(f"{red}>>{red.OFF}{yellow} Okey, use ~/.cache/wal/{yellow.OFF}");
print(f"{red}>>{red.OFF}{yellow} Go to the specified directory.{yellow.OFF}");
os.chdir('../../../../.cache/wal');
os.chdir(os.path.expanduser("~/.cache/wal"));
else:
print(f"{red}>>{red.OFF}{yellow} Specify the directory: {yellow.OFF}");
w_directory = input();