mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-10-27 04:39:56 -04:00
Changed shade of gray used in entry list to be more neutral
This commit is contained in:
1 parent
15204fb0e9
commit
75e152ebfe
1 file changed
+2
-2
@@ -24,7 +24,7 @@ def entry_list_gen(): # generates and prints a list of all folders and entries
|
|||||||
_entry_list.append(f"{_entry.replace('.gpg', '')}")
|
_entry_list.append(f"{_entry.replace('.gpg', '')}")
|
||||||
_color_alternator = 2
|
_color_alternator = 2
|
||||||
else:
|
else:
|
||||||
_entry_list.append(f"\u001b[38;5;248m{_entry.replace('.gpg', '')}\u001b[0m")
|
_entry_list.append(f"\u001b[38;5;8m{_entry.replace('.gpg', '')}\u001b[0m")
|
||||||
_color_alternator = 1
|
_color_alternator = 1
|
||||||
_real = len(' '.join(_entry_list)) - (6.5 * len(_entry_list))
|
_real = len(' '.join(_entry_list)) - (6.5 * len(_entry_list))
|
||||||
if _real <= get_terminal_size()[0]:
|
if _real <= get_terminal_size()[0]:
|
||||||
@@ -46,7 +46,7 @@ def entry_list_gen(): # generates and prints a list of all folders and entries
|
|||||||
_entry_list.append(f"{_entry.replace('.gpg', '')}")
|
_entry_list.append(f"{_entry.replace('.gpg', '')}")
|
||||||
_color_alternator = 2
|
_color_alternator = 2
|
||||||
else:
|
else:
|
||||||
_entry_list.append(f"\u001b[38;5;248m{_entry.replace('.gpg', '')}\u001b[0m")
|
_entry_list.append(f"\u001b[38;5;8m{_entry.replace('.gpg', '')}\u001b[0m")
|
||||||
_color_alternator = 1
|
_color_alternator = 1
|
||||||
_real = len(' '.join(_entry_list)) - (6.5 * len(_entry_list))
|
_real = len(' '.join(_entry_list)) - (6.5 * len(_entry_list))
|
||||||
if _real <= get_terminal_size()[0]:
|
if _real <= get_terminal_size()[0]:
|
||||||
|
|||||||
Reference in new issue
Block a user