summaryrefslogtreecommitdiffstats
path: root/.config/fbpanel/taskbar
blob: dff478c4225553b6c4ad9618502bd0a695338389 (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
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 = mem
	config {
		ShowSwap = false
	}
}

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 = 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 10">%A</span>
		showcalendar = true
		showtooltip = false
	}
}