This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from sys import argv | |
from random import randint, choice | |
from time import strftime, sleep | |
from curses import (textpad, curs_set, KEY_RIGHT, | |
KEY_LEFT, KEY_DOWN, KEY_UP, | |
wrapper, COLOR_RED) | |
####################### start advanced config ######################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from os import getenv | |
_paths = getenv("PATH").split(":") | |
def print_type(title: str, _filter: tuple): | |
print(f"\n@{title.title()} dirs:") | |
for (index, fp) in enumerate(filter(lambda fp: fp.startswith(_filter), _paths), 1): | |
print(f"{index:3}- {fp}") |
NewerOlder