summaryrefslogtreecommitdiffstats
path: root/.config/fbpanel/taskbar
blob: 1e73cc5799d2f86cda8a2997eb8978c117d14842 (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
145
146
147
148
Global {
	edge = top
	allign = center
	widthtype = percent
	width = 100
	heighttype = pixel
	height = 24
	margin = 0
	setdocktype = true
	setpartialstrut = true
	transparent = false
	tintcolor = #000000
	alpha = 255
	autohide = false
	roundcorners = false
	roundcornersradius = 0
	layer = above
	setlayer = false
	maxelemheight = 24
}

Plugin {
	type = menu
	expand = false
	padding = 0
	config {
		icon = applications-other
		systemmenu {
		}
	}
}

Plugin {
	type = genmon
	expand = false
	padding = 0
	config {
		command = ~/lib/panel/dtmon
		textsize = 10240
		textcolor = #F3F3F5
		pollingtime = 1
		maxtextlength = 3
	}
}

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 = wlp2s0
		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 = wlp2s0
		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/volmon
		textsize = 10240
		textcolor = #F3F3F5
		pollingtime = 1
		maxtextlength = 7
	}
}

Plugin {
	type = genmon
	expand = false
	padding = 0
	config {
		command = ~/lib/panel/batmon
		textsize = 10240
		textcolor = #F3F3F5
		pollingtime = 1
		maxtextlength = 6
	}
}

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