mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
tweak colors in welcome script
This commit is contained in:
parent
ed96623fb6
commit
f0af4e3261
2 changed files with 4 additions and 4 deletions
welcome
2
welcome/main.py
Normal file → Executable file
2
welcome/main.py
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import re
|
||||
|
||||
from colors import Style, COLORS
|
||||
|
|
|
@ -14,7 +14,7 @@ def get_system_info():
|
|||
info_lines = []
|
||||
|
||||
def info(name, value, *format_args):
|
||||
line = colored(name + ":", Style.BRIGHT, Fore.YELLOW) + " " + value
|
||||
line = bright_colored(name + ":", Fore.YELLOW) + " " + value
|
||||
if format_args:
|
||||
line = line % format_args
|
||||
info_lines.append(line)
|
||||
|
@ -88,9 +88,7 @@ def _get_users():
|
|||
terminals = users[name]
|
||||
|
||||
colored_name = bright_colored(name, Fore.BLUE)
|
||||
colored_terminals = [
|
||||
colored(term, Style.BRIGHT, Fore.BLACK) for term in terminals
|
||||
]
|
||||
colored_terminals = [colored(term, Style.DIM, Fore.WHITE) for term in terminals]
|
||||
|
||||
terminals_str = ", ".join(colored_terminals)
|
||||
if len(colored_terminals) > 1:
|
||||
|
|
Loading…
Reference in a new issue