forked from Yucklys/polybar-nord-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nord-down
141 lines (99 loc) · 2.96 KB
/
nord-down
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
; vim:ft=dosini
[module/powermenu]
type = custom/menu
expand-right = true
label-open =
label-close = |
menu-0-0 =
menu-0-0-foreground = ${colors.urgent}
menu-0-0-padding = 2
menu-0-0-exec = shutdown
menu-0-1 =
menu-0-1-foreground = ${colors.warning}
menu-0-1-padding = 2
menu-0-1-exec = reboot
menu-0-2 =
menu-0-2-foreground = ${colors.warning}
menu-0-2-padding = 2
menu-0-2-exec = logout
[module/cpu]
type = internal/cpu
interval = 1
format = <ramp-load> <label>
ramp-load-0 =
ramp-load-0-foreground = ${colors.success}
ramp-load-1 =
ramp-load-1-foreground = ${colors.warning}
ramp-load-2 =
ramp-load-2-foreground = ${colors.urgent}
[module/show-desktop]
type = custom/text
content =
click-left = i3-msg workspace 25:Desktop
[module/memory]
type = internal/memory
interval = 3
format = <ramp-used> <label>
label = %gb_used%/%gb_total%
ramp-used-0 =
ramp-used-0-foreground = ${colors.success}
ramp-used-1 =
ramp-used-1-foreground = ${colors.warning}
ramp-used-2 =
ramp-used-2-foreground = ${colors.urgent}
[module/github]
type= internal/github
token = ${config.github-token}
empty-notifications = false
interval = 10
label = %notifications%
[module/daily-poem]
type = custom/ipc
# replace B25KQR2Z50dxWG2oLX+PfPG5OqP/BG4s with your token from https://v2.jinrishici.com/token.
hook-0 = ~/.config/polybar/scripts/daily-poem require B25KQR2Z50dxWG2oLX+PfPG5OqP/BG4s ~/.config/polybar/scripts/poem.txt
hook-1 = ~/.config/polybar/scripts/daily-poem get ~/.config/polybar/scripts/poem.txt plus
hook-2 = ~/.config/polybar/scripts/daily-poem get ~/.config/polybar/scripts/poem.txt minus
initial = 1
scroll-up = polybar-msg -p %pid% hook daily-poem 2
scroll-down = polybar-msg -p %pid% hook daily-poem 3
double-click-left = polybar-msg -p %pid% hook daily-poem 1
format-underline = ${colors.nord7}
[module/network-detail]
type = internal/network
interface = ${config.interface}
interval = 3
format-connected = <label-connected>
label-connected = %downspeed:9% %upspeed:9%
label-connected-foreground = ${colors.success}
[module/temperature]
type = internal/temperature
thermal-zone = ${config.thermal-zone}
base-temperature = ${config.base-temperature}
warn-temperature = ${config.warn-temperature}
; Format
format = <ramp> <label>
format-warn = <label-warn>
format-warn-background = ${colors.foreground}
label-warn = %temperature-c%
label-warn-padding = 1
label-warn-foreground = ${colors.urgent}
label-warn-background = ${colors.foreground}
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
ramp-0-foreground = ${colors.nord8}
ramp-1-foreground = ${colors.nord8}
ramp-2-foreground = ${colors.success}
ramp-3-foreground = ${colors.success}
ramp-4-foreground = ${colors.warning}
[module/info-hackspeed]
type = custom/script
exec = ~/.config/polybar/scripts/info-hackspeed.sh
tail = true
[module/weather]
type = custom/script
exec = ~/.config/polybar/scripts/openweathermap-fullfeatured.sh
interval = 600
label-font = 4