-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault_config.py
118 lines (101 loc) · 3.77 KB
/
default_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
from datetime import date
def today():
return date.today()
settings = {
"layout": """
{hostname()} {today()}
Distro: {distro(architecture=True)}
Uptime: {uptime(up=True)}
Kernel: {kernel(small=False)}
Shell: {shell()}
Laptop: {model()}
Monitor: {monitor()}
CPU: {cpu()}
GPU: {gpu()}
WM: {wm()}
Packages: {packages()}
Driver: {gpu_driver()}
Memory: {memory()}
Theme: {gtk_theme()}
Icons: {icon_theme()}
{colors()}
""",
#{cursor_theme()} {gpu_driver()} {gtk_font()} {terminal()}
"custom_fetches": {
"today": today
},
# dictionary with custom functions, if you want to display something yours
# pass functions here, and insert them into layout as in example above
# format :
# 'function_name' : function
"colorize_functions" : True,
# colorize function's output or no. if you want to insert specific color for the specific function output in line, then.
# functions will be colored as text color if set to False.
# you have to set this param to False. This will disable colorizing for all the functions. you'll have to manually insert
# color for every function.to do that, you can use the following syntax:
# {cN}, where N is a number from 1 to 16. example:
#
# {c6} CPU: {cpu()}
#
# example above will colorize all the line if colorize_functions set to false.
# if colorize functions set to True, then only "CPU: " will be colored.
#
# colors are like in the example below. just past color number you want. for example:
# {c6} colorize to magenta
# {c2} colorize to red
"text_color" : "logo",
# the color text will displayed with, text only, not result of functions
# values :
# 1: # black
# 2: # red
# 3: # green
# 4: # yellow
# 5: # blue
# 6: # magenta
# 7: # cyan
# 8: # white
# 9: # bright black
# 10: # bright red
# 11: # bright green
# 12: # bright yellow
# 13: # bright blue
# 14: # bright magenta
# 15: # bright cyan
# 16: # bright white
"functions_color": 8,
# color of function's output, values are the same
"logo" : "auto",
# ascii logo to be displayed
# values :
# 'auto' # automatically set logo
# variable # dictionary with custom ascii art
# example and format:
# from colorama import Fore as f
#
# example_logo = {
# "logo" : f"""{f.RED}
# /\\,-'''''-,/\\
# \\_) (_/
# | {f.WHITE}" "{f.RED} |
# | {f.WHITE}----{f.RED} |
# ; ;
# "'-_____-'"
# """,
# "main_color" : f.RED # main color of the logo. you can use ansii codes or python colorama module
# # if logo is colorless leave it empy. if you have multicolored logo,
# # manually insert colors per line, and set this as main color of logo
# }
# distro names: # if you want exact distro ascci art, pass distro's name
# Names:
# arch ubuntu debian fedora centos manjaro alpine linuxmint opensuse-leap kali parrot zorin
# slackware solus puppy tails rhel clear artix void opensuse-tumbleweed peppermintos gentoo
"logo_info_whitespace" : 3,
# lenght of whitespace between logo and information
"lstrip_info" : False,
# remove whitespaces at the beginning of every layout line
"print_logo": True,
# Print logo or no
"logo_position": "left",
# position where logo located.
# values: 'left', 'top', 'right', 'bottom'
}