repo: update repo
i am so confused how my stuff what not added (maybe i forgot to `git add .`) but its fixed i hope
This commit is contained in:
parent
8e9d7016e8
commit
f56733efc2
2 changed files with 15 additions and 15 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1,5 @@
|
|||
**/*.*~
|
||||
**/#*#
|
||||
**/.#*
|
||||
/dist/
|
||||
/result
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
import whyfetch.system_properties as w
|
||||
|
||||
colours = {
|
||||
"red": "\x1b[1;31m",
|
||||
"blue": "\x1b[1;34m",
|
||||
"white": "\x1b[1;39m",
|
||||
}
|
||||
|
||||
def separator_from_longest_prop(properties: list[w.Prop]):
|
||||
j: int = 0
|
||||
|
@ -18,6 +13,12 @@ def separator_from_longest_prop(properties: list[w.Prop]):
|
|||
|
||||
return "━"*j
|
||||
|
||||
colours = {
|
||||
"red": "\x1b[1;31m",
|
||||
"blue": "\x1b[1;34m",
|
||||
"white": "\x1b[1;39m",
|
||||
}
|
||||
|
||||
def __main__():
|
||||
kernel: w.Kernel = w.Kernel()
|
||||
ram: w.Ram = w.Ram()
|
||||
|
@ -31,14 +32,10 @@ def __main__():
|
|||
|
||||
print(f'{colours["white"]}━━━━━━━━━━━━━━━{separator_from_longest_prop(properties)}')
|
||||
print(f' {colours["red"]}_.----._{colours["white"]} {username.prop.content}@{kernel.node}')
|
||||
print(f' {colours["red"]}.\' \'.{colours["white"]} {kernel.prop.content}')
|
||||
print(f'{colours["red"]}/{colours["white"]}._ _.--._ {colours["red"]}}\\ {os.prop.content}')
|
||||
print(f' {colours["red"]}.\' \'.{colours["white"]} {kernel.prop.content}')
|
||||
print(f'{colours["red"]}/{colours["white"]}._ _.--._ {colours["red"]}\\{colours["white"]} {os.prop.content}')
|
||||
print(f'|_ \'-\' _.._ `| {shell.prop.content}')
|
||||
print(f'\\ `---\' `-/ {ram.prop.content}')
|
||||
print(f' \'._ _.\' {uptime.prop.content}')
|
||||
print(f' \'----\' {locale.prop.content}')
|
||||
print(f'{colours["blue"]}\\{colours["white"]} `---\' `-{colours["blue"]}/{colours["white"]} {ram.prop.content}')
|
||||
print(f' {colours["blue"]}\'._ _.\'{colours["white"]} {uptime.prop.content}')
|
||||
print(f' {colours["blue"]}\'----\'{colours["white"]} {locale.prop.content}')
|
||||
print(f'━━━━━━━━━━━━━━━{separator_from_longest_prop(properties)}')
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue