blob: 92f8ee7665e72980dace8a5c3a339d9f6def678c (
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
|
Global {
# The rectangle containing all monitors. Not good in
# non-rectangular scenarios where not all of the top edge is
# actually on a monitor
#monitor=-1
# The --primary monitor
monitor=0
edge=top
setdocktype=1
setpartialstrut=1
widthtype=percent
width=100
height=16
iconsize=16
transparent=1
tintcolor=#0d1000
alpha=255
loglevel=2
}
Plugin {
type=menu
Config {
# If we don't explicitly give the menu a list of
# things to contain, it will default to
# system{}/separator{}/item{command=run}/separator{}/item{command=logout}
system {
}
}
}
Plugin {
type=space
expand=1
Config {
# The default ("natural") size is 1, but the min size
# is 2, so we have to set that here.
Size=2
}
}
Plugin {
type=tray
}
Plugin {
type=volumealsa
Config {
# 1. LXPanel only supports selecting an ALSA device by
# card number, not by name. Nevermind that it
# litterally does an snprintf "hw:%d" to turn that
# numeric card number in to a name. Letting the
# user set the name themself would be too
# user-friendly. However, if CardNumber < 0, then
# it uses the name "default" instead.
# 2. The graphical config tool is confused about how
# CardNumbers work. If you select "default" in the
# GUI, it stores this as CardNumber 0, which is
# quite likely different than the default ALSA
# device. (ALSA devices are numbered starting at
# 0.) To instead get it to obey the ALSA defaults,
# you need to set CardNumber=-1 (or anything <0).
# There is no way to do this from the GUI.
# 3. Not all ALSA devices have a card number; some
# ALSA devices can only be referred to by a name.
CardNumber=-1
}
}
|