summaryrefslogtreecommitdiffstats
path: root/.config/fbpanel/taskbar
blob: 784b6ad3526979a15c92045207cb8b2aba393187 (plain)
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
142
143
144
Global {
	edge = top
	allign = center
	widthtype = percent
	width = 100
	heighttype = pixel
	height = 48
	margin = 0
	setdocktype = true
	setpartialstrut = true
	transparent = false
	tintcolor = #000000
	alpha = 255
	autohide = false
	roundcorners = false
	roundcornersradius = 0
	layer = below
	setlayer = true
	maxelemheight = 24
}

Plugin {
	type = space
	config {
		size = 188
	}
}

Plugin {
	type = taskbar
	expand = true
	padding = 0
	config {
		showiconified = true
		showmapped = true
		showalldesks = false
		tooltips = true
		iconsonly = false
		maxtaskwidth = 200
	}
}

Plugin {
	type = tray
	expand = false
	padding = 0
}

Plugin {
	type = cpu
	config {
		color = green
	}
}

Plugin {
	type = genmon
	expand = false
	padding = 0
	config {
		command = ~/lib/panel/hwmon -r CPU: :k10temp/temp1 :w83795g/fan1 :fam15h_power/power1
		textsize = 7680
		textcolor = #F3F3F5
		pollingtime = 5
		maxtextlength = 16
	}
}

Plugin {
	type = mem
	config {
		ShowSwap = false
	}
}

Plugin {
	type = genmon
	expand = false
	padding = 0
	config {
		command = ~/lib/panel/hwmon -r GPU: :nouveau/temp1 :nouveau/fan1 :nouveau/power1
		textsize = 7680
		textcolor = #F3F3F5
		pollingtime = 5
		maxtextlength = 16
	}
}

Plugin {
	type = net
	config {
		interface = ens10
		TxColor = violet
		RxColor = blue
# 1 Gb/s = 122070.3125 KiB/s
# The chart seems to overflow a border of 2 px at the top and 1 px at the
# bottom (3 px total, leaving 45 px of usable space out of the 48 px panel
# height), so the limits should be:
#     122070.3125 KiB/s * 48 px / 45 px = 130208.33 KiB/s
		TxLimit = 130208
		RxLimit = 130208
	}
}

Plugin {
	type = net
	config {
		interface = ens10
		TxColor = violet
		RxColor = blue
# 8 Mb/s = 976.5625 KiB/s
# 2 Mb/s = 244.140625 KiB/s
# 8 Mb/s + 2 Mb/s = 10 Mb/s = 1220.703125 KiB/s
# Limits calculations:
#     976.5625 KiB/s * 48 px / 45 px = 1041.67 KiB/s
#     244.140625 KiB/s * 48 px / 45 px = 260.42 KiB/s
		TxLimit = 1042
		RxLimit = 260
	}
}

Plugin {
	type = genmon
	expand = false
	padding = 0
	config {
		command = ~/lib/panel/df-uptime -r
		textsize = 7680
		textcolor = #F3F3F5
		pollingtime = 15
		maxtextlength = 16
	}
}

Plugin {
	type = tclock
	expand = false
	padding = 0
	config {
		clockfmt = <span font="Mono 12">%H:%M:%S</span>&#xA;<span font="Mono 10">%Y-%m-%d</span>&#xA;<span font="Mono 8">%A</span>
		showcalendar = true
		showtooltip = false
	}
}