forked from gonzalo-/termbarc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenbar.conf.5
144 lines (124 loc) · 2.33 KB
/
openbar.conf.5
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
.TH OPENBAR.CONF 5 "July 2024" "OpenBar 1.0" "File Formats"
.SH NAME
openbar.conf \- configuration file for openbar
.SH DESCRIPTION
.B openbar.conf
is the configuration file for
.B openbar,
a status bar application for cwm and other window managers. This file allows the user to specify various options to control what information is displayed by
.B openbar.
The configuration file can be located in the user's home directory as
.B ~/.openbar.conf
or in the global directory as
.B /etc/openbar.conf.
If both files are present, the file in the user's home directory will take precedence.
.SH SYNTAX
The configuration file consists of key-value pairs, one per line. The following options are available:
.TP
.B logo
Specifies the logo or name to be displayed. Example:
.EX
logo=OpenBar
.EE
.TP
.B date
Specifies whether to display the current date and time. Example:
.EX
date=yes
.EE
.TP
.B cpu
Specifies whether to display the CPU speed and temperature. Example:
.EX
cpu=yes
.EE
.TP
.B bat
Specifies whether to display the battery status. Example:
.EX
bat=yes
.EE
.TP
.B mem
Specifies whether to display the free memory. Example:
.EX
mem=yes
.EE
.TP
.B load
Specifies whether to display the load average. Example:
.EX
load=yes
.EE
.TP
.B net
Specifies whether to display the public and private IP addresses. Example:
.EX
net=yes
.EE
.TP
.B winid
Specifies whether to display the current window ID. Example:
.EX
winid=yes
.EE
.TP
.B hostname
Specifies whether to display the hostname. Example:
.EX
hostname=yes
.EE
.TP
.B interface
Specifies the network interface to use for retrieving the internal IP address. Example:
.EX
interface=iwm0
.EE
.TP
.B vpn
Specifies whether to display the VPN connection status. Example:
.EX
vpn=yes
.EE
.TP
.B background
Specifies the background color of the bar. It can be either "black" or "white". Example:
.EX
background=white
.EE
.SH EXAMPLE
An example configuration file is shown below:
.EX
logo=openbar
date=yes
cpu=yes
bat=yes
mem=yes
load=yes
net=yes
winid=yes
hostname=yes
interface=iwm0
vpn=yes
background=white
.EE
.SH FILES
.B ~/.openbar.conf
.RS 4
User-specific configuration file for
.B openbar.
.RE
.B /etc/openbar.conf
.RS 4
Global configuration file for
.B openbar.
.RE
.SH SEE ALSO
.BR openbar (1),
.BR cwm (1),
.BR tmux (1)
.SH AUTHORS
Gonzalo Rodriguez
.RI ([email protected])
David Uhden Collado
.RI ([email protected])