Release 17.1
[tint2-nick87720z.git] / doc / tint2.1
bloba65ed3112f9617a4abeb9132f7cf3ba7e4448f54
1 .nh
2 .TH TINT2 1 "2022\-02\-23" 17.1
3 .SH NAME
4 .PP
5 tint2 \- lightweight panel/taskbar
7 .SH DESCRIPTION
8 .PP
9 tint2 is a simple panel/taskbar made for modern X window managers.
10 It was specifically made for Openbox but it should also work with other window managers (GNOME, KDE, XFCE etc.).
12 .PP
13 Features:
15 .RS
16 .IP \(bu 2
17 Panel with taskbar, system tray, clock and launcher icons;
18 .IP \(bu 2
19 Easy to customize: color/transparency on fonts, icons, borders and backgrounds;
20 .IP \(bu 2
21 Pager like capability: move tasks between workspaces (virtual desktops), switch between workspaces;
22 .IP \(bu 2
23 Multi\-monitor capability: create one panel per monitor, showing only the tasks from the current monitor;
24 .IP \(bu 2
25 Customizable mouse events.
27 .RE
29 .PP
30 Goals:
32 .RS
33 .IP \(bu 2
34 Be unintrusive and light (in terms of memory, CPU and aesthetic);
35 .IP \(bu 2
36 Follow the freedesktop.org specifications;
37 .IP \(bu 2
38 Make certain workflows, such as multi\-desktop and multi\-monitor, easy to use.
40 .RE
42 .SH SYNOPSIS
43 .PP
44 \fB\fCtint2 [OPTION...]\fR
46 .SH OPTIONS
47 .PP
48 \fB\fC\-c path\_to\_config\_file\fR
49   Specifies which configuration file to use instead of the default.
51 .PP
52 \fB\fC\-v, \-\-version\fR
53   Prints version information and exits.
55 .PP
56 \fB\fC\-h, \-\-help\fR
57   Display this help and exits.
59 .SH CONFIGURATION
60 .SS Table of contents
61 .RS
62 .IP \(bu 2
63 Introduction
64 \[la]#introduction\[ra]
65 .IP \(bu 2
66 Backgrounds and borders
67 \[la]#backgrounds-and-borders\[ra]
68 .IP \(bu 2
69 Gradients
70 \[la]#gradients\[ra]
71 .IP \(bu 2
72 Panel
73 \[la]#panel\[ra]
74 .IP \(bu 2
75 Launcher
76 \[la]#launcher\[ra]
77 .IP \(bu 2
78 Taskbar/Pager
79 \[la]#taskbar-pager\[ra]
80 .IP \(bu 2
81 Taskbar buttons
82 \[la]#taskbar-buttons\[ra]
83 .IP \(bu 2
84 Mouse actions for taskbar buttons
85 \[la]#mouse-actions-for-taskbar-buttons\[ra]
86 .IP \(bu 2
87 System tray
88 \[la]#system-tray\[ra]
89 .IP \(bu 2
90 Clock
91 \[la]#clock\[ra]
92 .IP \(bu 2
93 Tooltip
94 \[la]#tooltip\[ra]
95 .IP \(bu 2
96 Battery
97 \[la]#battery\[ra]
98 .IP \(bu 2
99 Executor
100 \[la]#executor\[ra]
101 .IP \(bu 2
102 Button
103 \[la]#button\[ra]
104 .IP \(bu 2
105 Separator
106 \[la]#separator\[ra]
107 .IP \(bu 2
108 Example configuration
109 \[la]#example-configuration\[ra]
113 .SS Introduction
115 These are instructions for configuring tint2 directly by editing its config file.
116 You may also use instead the graphical interface \fB\fCtint2conf\fR\&.
119 The first time you run tint2, it will create the config file in \fB\fC$HOME/.config/tint2/tint2rc\fR (This applies if you have done a clean install. Running tint2 in the source directory without doing 'make install' will not create the config file.)
122 You can also specify another file on the command line with the \-c option, e.g.: \fB\fCtint2 \-c $HOME/tint2.conf\fR\&. This can be used to run multiple instances of tint2 that use different settings.
125 If you change the config file while tint2 is running, the command \fB\fCkillall \-SIGUSR1 tint2\fR will force tint2 to reload it.
128 All the configuration options supported in the config file are listed below.
129 Try to respect as much as possible the order of the options as given below.
131 .SS Backgrounds and borders
133 The tint2 config file starts with the options defining background elements with borders:
136 .IP \(bu 2
137 \fB\fCrounded = number\_of\_pixels\fR : the corner radius
138 .IP \(bu 2
139 \fB\fCrounded\_corners = TL TR BR BL\fR: corners to be rounded (top left, top right, bottom right, bottom left). If not specified \- all corners are rounded. \fI(since 17.1)\fP
140 .IP \(bu 2
141 \fB\fCborder\_width = integer\fR : the border width in pixels
142 .IP \(bu 2
143 \fB\fCborder\_sides = LRTB\fR : sides to draw the border on (left, right, top, bottom). If not specified \- all sides are used. \fI(since 0.12.12)\fP
144 .IP \(bu 2
145 \fB\fCbackground\_color = color opacity\fR
147 .IP \(bu 2
148 \fB\fCcolor\fR is specified in hex RGB, e.g. #ff0000 is red
149 .IP \(bu 2
150 \fB\fCopacity\fR varies from (0 to 100), where 0 is fully transparent, 100 is fully opaque. Note that for a transparent panel you need to enable a desktop compositor (such as compton or compiz).
154 .IP \(bu 2
155 \fB\fCborder\_color = color opacity\fR
157 .IP \(bu 2
158 \fB\fCcolor\fR is specified in hex RGB, e.g. #ff0000 is red
159 .IP \(bu 2
160 \fB\fCopacity\fR varies from (0 to 100), where 0 is fully transparent, 100 is fully opaque
164 .IP \(bu 2
165 \fB\fCbackground\_color\_hover = color opacity\fR (default: same as \fB\fCbackground\_color\fR) \fI(since 0.12.3)\fP
167 .IP \(bu 2
168 \fB\fCcolor\fR is specified in hex RGB, e.g. #ff0000 is red
169 .IP \(bu 2
170 \fB\fCopacity\fR varies from (0 to 100), where 0 is fully transparent, 100 is fully opaque. Note that for a transparent panel you need to enable a desktop compositor (such as compton or compiz)
174 .IP \(bu 2
175 \fB\fCborder\_color\_hover = color opacity\fR (default: same as \fB\fCborder\_color\fR) \fI(since 0.12.3)\fP
177 .IP \(bu 2
178 \fB\fCcolor\fR is specified in hex RGB, e.g. #ff0000 is red
179 .IP \(bu 2
180 \fB\fCopacity\fR varies from (0 to 100), where 0 is fully transparent, 100 is fully opaque
184 .IP \(bu 2
185 \fB\fCbackground\_color\_pressed = color opacity\fR (default: same as \fB\fCbackground\_color\_hover\fR) \fI(since 0.12.3)\fP
187 .IP \(bu 2
188 \fB\fCcolor\fR is specified in hex RGB, e.g. #ff0000 is red
189 .IP \(bu 2
190 \fB\fCopacity\fR varies from (0 to 100), where 0 is fully transparent, 100 is fully opaque. Note that for a transparent panel you need to enable a desktop compositor (such as compton or compiz)
194 .IP \(bu 2
195 \fB\fCborder\_color\_pressed = color opacity\fR (default: same as \fB\fCborder\_color\_hover\fR) \fI(since 0.12.3)\fP
197 .IP \(bu 2
198 \fB\fCcolor\fR is specified in hex RGB, e.g. #ff0000 is red
199 .IP \(bu 2
200 \fB\fCopacity\fR varies from (0 to 100), where 0 is fully transparent, 100 is fully opaque
204 .IP \(bu 2
205 \fB\fCborder\_content\_tint\_weight = integer\fR : Mixes the border color with the content color (for tasks, this is the average color of the window icon). Values must be between 0 (no mixing) and 100 (fully replaces the color). \fI(since 16.0)\fP
206 .IP \(bu 2
207 \fB\fCbackground\_content\_tint\_weight = integer\fR : Mixes the background color with the content color (for tasks, this is the average color of the window icon). Values must be between 0 (no mixing) and 100 (fully replaces the color). \fI(since 16.0)\fP
212 You can define as many backgrounds as you want. For example, the following config defines two backgrounds:
218 rounded = 1
219 border\_width = 0
220 background\_color = #282828 100
221 border\_color = #000000 0
223 rounded = 1
224 border\_width = 0
225 background\_color = #f6b655 90
226 border\_color = #cccccc 40
232 tint2 automatically identifies each background with a number starting from 1 (1, 2, ...).
233 Afterwards, you can apply a background to objects (panel, taskbar, task, clock, systray) using the background id, for example:
239 panel\_background\_id = 1
240 taskbar\_background\_id = 0
241 task\_background\_id = 0
242 task\_active\_background\_id = 2
243 systray\_background\_id = 0
244 clock\_background\_id = 0
250 Identifier 0 refers to a special background which is fully transparent, identifier 1 applies the first background defined in the config file etc.
252 .SS Gradients
254 (Available since 0.13.0)
257 Backgrounds also allow specifying gradient layers
258 that are drawn on top of the solid color background.
261 First the user must define one or more gradients in the config file,
262 each starting with \fB\fCgradient = TYPE\fR\&. These must be added before backgrounds.
265 Then gradients can be added by index to backgrounds,
266 using the \fB\fCgradient\_id = INDEX\fR, \fB\fCgradient\_id\_hover = INDEX\fR and
267 \fB\fCgradient\_id\_pressed = INDEX\fR, where \fB\fCINDEX\fR is
268 the gradient index, starting from 1.
270 .SS Gradient types
272 Gradients vary the color between fixed control points:
273 * vertical gradients: top\-to\-bottom;
274 * horizontal gradients: left\-to\-right;
275 * radial gradients: center\-to\-corners.
278 The user must specify the start and end colors, and can optionally add extra color stops in between
279 using the \fB\fCcolor\_stop\fR option, as explained below.
281 .SS Vertical gradient, with color varying from the top edge to the bottom edge, two colors
286 gradient = vertical
287 start\_color = #rrggbb opacity
288 end\_color = #rrggbb opacity
293 .SS Horizontal gradient, with color varying from the left edge to the right edge, two colors
298 gradient = horizontal
299 start\_color = #rrggbb opacity
300 end\_color = #rrggbb opacity
305 .SS Radial gradient, with color varying from the center to the corner, two colors:
310 gradient = radial
311 start\_color = #rrggbb opacity
312 end\_color = #rrggbb opacity
317 .SS Adding extra color stops (0% and 100% remain fixed, more colors at x% between the start and end control points)
322 color\_stop = percentage #rrggbb opacity
327 .SS Gradient examples
332 # Gradient 1: thin film effect
333 gradient = horizontal
334 start\_color = #111122 30
335 end\_color = #112211 30
336 color\_stop = 60 #221111 30
338 # Gradient 2: radial glow
339 gradient = radial
340 start\_color = #ffffff 20
341 end\_color = #ffffff 0
343 # Gradient 3: elegant black
344 gradient = vertical
345 start\_color = #444444 100
346 end\_color = #222222 100
348 # Gradient 4: elegant black
349 gradient = horizontal
350 start\_color = #111111 100
351 end\_color = #222222 100
353 # Background 1: Active desktop name
354 rounded = 2
355 border\_width = 1
356 border\_sides = TBLR
357 background\_color = #555555 10
358 border\_color = #ffffff 60
359 background\_color\_hover = #555555 10
360 border\_color\_hover = #ffffff 60
361 background\_color\_pressed = #555555 10
362 border\_color\_pressed = #ffffff 60
363 gradient\_id = 3
364 gradient\_id\_hover = 4
365 gradient\_id\_pressed = 2
367 [...]
372 .SS Panel
374 .IP \(bu 2
375 \fB\fCpanel\_items = LTSBC\fR defines the items tint2 will show and the order of those items. Each letter refers to an item, defined as:
377 .IP \(bu 2
378 \fB\fCL\fR shows the Launcher
379 .IP \(bu 2
380 \fB\fCT\fR shows the Taskbar
381 .IP \(bu 2
382 \fB\fCS\fR shows the Systray (also called notification area)
383 .IP \(bu 2
384 \fB\fCB\fR shows the Battery status
385 .IP \(bu 2
386 \fB\fCC\fR shows the Clock
387 .IP \(bu 2
388 \fB\fCF\fR adds an extensible spacer (freespace). You can specify more than one. Has no effect if \fB\fCT\fR is also present. \fI(since 0.12)\fP
389 .IP \(bu 2
390 \fB\fCE\fR adds an executor plugin. You can specify more than one. \fI(since 0.12.4)\fP
391 .IP \(bu 2
392 \fB\fCP\fR adds a push button. You can specify more than one. \fI(since 0.14)\fP
393 .IP \(bu 2
394 \fB\fC:\fR adds a separator. You can specify more than one. \fI(since 0.13.0)\fP
397 For example, \fB\fCpanel\_items = STC\fR will show the systray, the taskbar and the clock (from left to right).
398 .IP \(bu 2
399 \fB\fCpanel\_monitor = monitor (all or primary or 1 or 2 or ...)\fR : Which monitor tint2 draws the panel on
401 .IP \(bu 2
402 The first monitor is \fB\fC1\fR
403 .IP \(bu 2
404 Use \fB\fCpanel\_monitor = all\fR to get a separate panel per monitor
408 .IP \(bu 2
409 \fB\fCprimary\_monitor\_first = boolean (0 or 1)\fR : Place the primary monitor before all the other monitors in the list. \fI(since 0.12.4; removed in 1.0, use \fB\fCprimary\fR instead)\fP
417 .IP \(bu 2
418 \fB\fCpanel\_position = vertical\_position horizontal\_position orientation\fR
420 .IP \(bu 2
421 \fB\fCvertical\_position\fR is one of: \fB\fCbottom\fR, \fB\fCtop\fR, \fB\fCcenter\fR
422 .IP \(bu 2
423 \fB\fChorizontal\_position\fR is one of: \fB\fCleft\fR, \fB\fCright\fR, \fB\fCcenter\fR
424 .IP \(bu 2
425 \fB\fCorientation\fR is one of: \fB\fChorizontal\fR, \fB\fCvertical\fR
429 .IP \(bu 2
430 \fB\fCpanel\_size = width height\fR
432 .IP \(bu 2
433 \fB\fCwidth\fR and \fB\fCheight\fR can be specified without units (e.g. \fB\fC123\fR) as pixels, or followed by \fB\fC%\fR as percentages of the monitor size (e.g. \fB\fC50%\fR). Use \fB\fC100%\fR for full monitor width/height.
434 Example:
438 .IP \(bu 2
439 \fB\fCscale\_relative\_to\_dpi = integer\fR : If set to a non\-zero value, HiDPI scaling is enabled. Each panel is visible on a different monitor. Thus each panel has a specific scaling factor. The scaling factor is computed as the ratio between the monitor DPI (obtained from the dimensions in pixels and millimeters from RandR) and a configured reference DPI \- this is the DPI for which exising user configs looked normal, for backward compatibility.
440 .IP \(bu 2
441 \fB\fCscale\_relative\_to\_screen\_height = integer\fR : Similar to \fB\fCscale\_relative\_to\_dpi\fR, except the scaling factor is computed as the ratio between the monitor height and \fB\fCscale\_relative\_to\_screen\_height\fR\&. The effect is cumulative with \fB\fCscale\_relative\_to\_dpi\fR, i.e. if both options are present, the factors are multiplied.
446 # The panel's width is 94% the size of the monitor, the height is 30 pixels:
447 panel\_size = 94% 30
452 .IP \(bu 2
453 \fB\fCpanel\_shrink = boolean (0 or 1)\fR : If set to 1, the panel will shrink to a compact size dynamically. \fI(since 0.13)\fP
454 .IP \(bu 2
455 \fB\fCpanel\_margin = horizontal\_margin vertical\_margin\fR : The margins define the distance between the panel and the horizontal/vertical monitor edge. Use \fB\fC0\fR to obtain a panel with the same size as the edge of the monitor (no margin).
463 .IP \(bu 2
464 \fB\fCpanel\_padding = horizontal\_padding vertical\_padding spacing\fR : Please refer to the image below.
472 .IP \(bu 2
473 \fB\fCfont\_shadow = boolean (0 or 1)\fR
474 .IP \(bu 2
475 \fB\fCpanel\_background\_id = integer\fR : Which background to use for the panel.
476 .IP \(bu 2
477 \fB\fCwm\_menu = boolean (0 or 1)\fR : Defines if tint2 forwards unhandled mouse events to your window manager. Useful for window managers such as openbox, which display the start menu if you right click on the desktop.
478 .IP \(bu 2
479 \fB\fCpanel\_dock = boolean (0 or 1)\fR : Defines if tint2 is placed into the window manager's dock. For the openbox window manager it is advised to also use a modifier for the moveButton option, otherwise the mouse click is not forwarded to tint2 (in \~/.config/openbox/rc.xml).
480 .IP \(bu 2
481 \fB\fCpanel\_pivot\_struts = boolean (0 or 1)\fR : Defines if tint2 lies to the window manager about its orientation (horizontal vs vertical) when requesting reserved space with STRUTs (see \fB\fCstrut\_policy\fR below). On some window managers, this allows placing a panel in the middle of the virtual screen, e.g. on the bottom edge of the top monitor in a vertical dual\-monitor setup.
482 .IP \(bu 2
483 \fB\fCpanel\_layer = bottom/normal/top\fR : Places tint2 into the bottom/normal/top layer. This is helpful for specifying if the panel can be covered by other windows or not. The default is the bottom layer, but with real transparency normal or top layer may be a nice alternative.
484 .IP \(bu 2
485 \fB\fCstrut\_policy = follow\_size/minimum/none\fR : STRUTs are used by the window manager to decide the size of maximized windows. Note: on multi\-monitor (Xinerama) setups, the panel generally must be placed at the edge (not in the middle) of the virtual screen for this to work correctly (though on some window managers, setting \fB\fCpanel\_pivot\_struts\fR may work around this limitation).
487 .IP \(bu 2
488 \fB\fCfollow\_size\fR means that the maximized windows always resize to have a common edge with tint2.
489 .IP \(bu 2
490 \fB\fCminimum\fR means that the maximized windows always expand to have a common edge with the hidden panel. This is useful if the \fB\fCautohide\fR option is enabled.
491 .IP \(bu 2
492 \fB\fCnone\fR means that the maximized windows use the full screen size.
496 .IP \(bu 2
497 \fB\fCpanel\_window\_name = string\fR : Defines the name of the panel's window. Default: 'tint2'. \fI(since 0.12)\fP
498 .IP \(bu 2
499 \fB\fCdisable\_transparency = boolean (0 or 1)\fR : Whether to disable transparency instead of detecting if it is supported. Useful on broken graphics stacks. \fI(since 0.12)\fP
500 .IP \(bu 2
501 \fB\fCmouse\_effects = boolean (0 or 1)\fR : Whether to enable mouse hover effects for clickable items. \fI(since 0.12.3)\fP
502 .IP \(bu 2
503 \fB\fCmouse\_hover\_icon\_asb = alpha (0 to 100) saturation (\-100 to 100) brightness (\-100 to 100)\fR : Adjusts the icon color and transparency on mouse hover (works only when mouse\_effects = 1).` \fI(since 0.12.3)\fP
504 .IP \(bu 2
505 \fB\fCmouse\_pressed\_icon\_asb = alpha (0 to 100) saturation (\-100 to 100) brightness (\-100 to 100)\fR : Adjusts the icon color and transparency on mouse press (works only when mouse\_effects = 1).` \fI(since 0.12.3)\fP
506 .IP \(bu 2
507 \fB\fCautohide = boolean (0 or 1)\fR : Whether to enable panel hiding when the mouse cursor exists the panel.
508 .IP \(bu 2
509 \fB\fCautohide\_show\_timeout = float\fR : Show timeout in seconds after the mouse cursor enters the panel. Use '.' as decimal separator.
510 .IP \(bu 2
511 \fB\fCautohide\_hide\_timeout = float\fR : Hide timeout in seconds after the mouse cursor exits the panel. Use '.' as decimal separator.
512 .IP \(bu 2
513 \fB\fCautohide\_height = integer\fR : panel height (width for vertical panels) in hidden mode.
517 .SS Launcher
519 .IP \(bu 2
520 \fB\fClauncher\_item\_app = path\_to\_application\fR : Each \fB\fClauncher\_item\_app\fR must be a file path to a .desktop file following the freedesktop.org specification
521 \[la]http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html\[ra]\&. The paths may begin with \fB\fC\~\fR, which is expanded to the path of the user's home directory. If only a file name is specified, the file is search in the standard application directories (\fB\fC$XDG\_DATA\_HOME/applications\fR, \fB\fC\~/.local/share/applications\fR, \fB\fC$XDG\_DATA\_DIRS/applications\fR, \fB\fC/usr/local/share/applications\fR, \fB\fC/usr/share/applications\fR, \fB\fC/opt/share/applications\fR).
522 .IP \(bu 2
523 \fB\fClauncher\_apps\_dir = path\_to\_directory\fR : Specifies a path to a directory from which the launcher is loading all .desktop files (all subdirectories are explored recursively). Can be used multiple times. The path may begin with \fB\fC\~\fR, which is expanded to the path of the user's home directory. \fI(since 0.12)\fP
524 .IP \(bu 2
525 \fB\fClauncher\_background\_id = integer\fR : Defines which background to use.
526 .IP \(bu 2
527 \fB\fClauncher\_icon\_background\_id = integer\fR : Defines which background to use for icons.
528 .IP \(bu 2
529 \fB\fClauncher\_padding = horizontal\_padding vertical\_padding spacing\fR
530 .IP \(bu 2
531 \fB\fClauncher\_icon\_size = integer\fR : The launcher icon size, in pixels.
532 .IP \(bu 2
533 \fB\fClauncher\_icon\_theme = name\_of\_theme\fR : (Optional) Uses the specified icon theme to display shortcut icons. Note that tint2 will detect and use the icon theme of your desktop if you have an XSETTINGS manager running (which you probably do), unless \fB\fClauncher\_icon\_theme\_override = 1\fR\&.
534 .IP \(bu 2
535 \fB\fClauncher\_icon\_theme\_override = boolean (0 or 1)\fR : Whether \fB\fClauncher\_icon\_theme\fR overrides the value obtained from the XSETTINGS manager. \fI(since 0.12)\fP
536 .IP \(bu 2
537 \fB\fClauncher\_icon\_asb = alpha (0 to 100) saturation (\-100 to 100) brightness (\-100 to 100)\fR : Adjusts the icon color and transparency.
538 .IP \(bu 2
539 \fB\fClauncher\_tooltip = boolean (0 or 1)\fR : Whether to show tooltips for the launcher icons.
540 .IP \(bu 2
541 \fB\fCstartup\_notifications = boolean (0 or 1)\fR : Whether to show startup notifications when starting applications from the launcher. \fI(since 0.12)\fP
545 .SS Taskbar / Pager
547 .IP \(bu 2
548 \fB\fCtaskbar\_mode = single\_desktop/multi\_desktop\fR
550 .IP \(bu 2
551 \fB\fCsingle\_desktop\fR : Shows a normal taskbar listing the tasks running on the current virtual desktop (also known as 'workspace');
552 .IP \(bu 2
553 \fB\fCmulti\_desktop\fR : Pager like capability. Shows multiple taskbars, one per virtual desktop, with which:
555 .IP \(bu 2
556 You can drag\-and\-drop tasks between virtual desktops;
557 .IP \(bu 2
558 You can switch between virtual desktops.
565 .IP \(bu 2
566 \fB\fCtaskbar\_hide\_if\_empty = boolean (0 or 1)\fR : If enabled, in multi\-desktop mode the taskbars corresponding to empty desktops different from the current desktop are hidden. \fI(since 0.13)\fP
567 .IP \(bu 2
568 \fB\fCtaskbar\_distribute\_size = boolean (0 or 1)\fR : If enabled, in multi\-desktop mode distributes between taskbars the available size proportionally to the number of tasks. Default: disabled. \fI(since 0.12)\fP
569 .IP \(bu 2
570 \fB\fCtaskbar\_padding = horizontal\_padding vertical\_padding spacing\fR
578 .IP \(bu 2
579 \fB\fCtaskbar\_background\_id = integer\fR : Which background to use
580 .IP \(bu 2
581 \fB\fCtaskbar\_active\_background\_id = integer\fR : Which background to use for the taskbar of the current virtual desktop.
582 .IP \(bu 2
583 \fB\fCtaskbar\_hide\_inactive\_tasks = boolean (0 or 1)\fR :  If enabled, the taskbar shows only the active task. \fI(since 0.12)\fP
584 .IP \(bu 2
585 \fB\fCtaskbar\_hide\_different\_monitor = boolean (0 or 1)\fR :  If enabled, the taskbar shows only the tasks from the current monitor. Useful when running different tint2 instances on different monitors, each one having its own config. \fI(since 0.12)\fP
586 .IP \(bu 2
587 \fB\fCtaskbar\_hide\_different\_desktop = boolean (0 or 1)\fR :  If enabled, the taskbar shows only the tasks from the current desktop. Useful to make multi\-desktop taskbars more compact, but still allow desktop switching with mouse click. \fI(since 1.0)\fP
588 .IP \(bu 2
589 \fB\fCtaskbar\_always\_show\_all\_desktop\_tasks = boolean (0 or 1)\fR :  Has effect only if \fB\fCtaskbar\_mode = multi\_desktop\fR\&. If enabled, tasks that appear on all desktops are shown on all taskbars. Otherwise, they are shown only on the taskbar of the current desktop. \fI(since 0.12.4)\fP
590 .IP \(bu 2
591 \fB\fCtaskbar\_sort\_order = none/title/center\fR : Specifies the sort order of the tasks on the taskbar.  \fI(since 0.12)\fP
593 .IP \(bu 2
594 \fB\fCnone\fR : No sorting. New tasks are simply appended at the end of the taskbar when they appear.
595 .IP \(bu 2
596 \fB\fCtitle\fR : Sorts the tasks by title.
597 .IP \(bu 2
598 \fB\fCapplication\fR : Sorts the tasks by application name. \fI(since 16.3)\fP
599 .IP \(bu 2
600 \fB\fCcenter\fR : Sorts the tasks by their window centers.
601 .IP \(bu 2
602 \fB\fCmru\fR : Shows the most recently used tasks first. \fI(since 0.12.4)\fP
603 .IP \(bu 2
604 \fB\fClru\fR : Shows the most recently used tasks last. \fI(since 0.12.4)\fP
608 .IP \(bu 2
609 \fB\fCtask\_align = left/center/right\fR : Specifies the alignment of the tasks on the taskbar. Default: left.
610 .IP \(bu 2
611 \fB\fCtaskbar\_name = boolean (0 or 1)\fR :  Whether to show the virtual desktop name in the taskbar.
612 .IP \(bu 2
613 \fB\fCtaskbar\_name\_padding = padding\fR :  Padding for the virtual desktop name.
614 .IP \(bu 2
615 \fB\fCtaskbar\_name\_background\_id = integer\fR :  Which background to use for the desktop name.
616 .IP \(bu 2
617 \fB\fCtaskbar\_name\_font = [FAMILY\-LIST] [STYLE\-OPTIONS] [SIZE]\fR :  Font configuration for the desktop name.
618 .IP \(bu 2
619 \fB\fCtaskbar\_name\_font\_color = color opacity (0 to 100)\fR :  Font color for the desktop name.
620 .IP \(bu 2
621 \fB\fCtaskbar\_name\_active\_background\_id = integer\fR :  Which background to use for the name of the current desktop.
622 .IP \(bu 2
623 \fB\fCtaskbar\_name\_active\_font\_color = color opacity (0 to 100)\fR :  Font color for the name of the current desktop.
628 .SH Taskbar buttons
630 The following options configure the task buttons in the taskbar:
633 .IP \(bu 2
634 \fB\fCtask\_icon = boolean (0 or 1)\fR : Whether to display the task icon. There is no explicit option to control the task icon size; it depends on the vertical padding set with \fB\fCtask\_padding\fR\&.
635 .IP \(bu 2
636 \fB\fCtask\_text = boolean (0 or 1)\fR : Whether to display the task text.
637 .IP \(bu 2
638 \fB\fCtask\_centered = boolean (0 or 1)\fR : Whether the task text is centered.
639 .IP \(bu 2
640 \fB\fCtask\_tooltip = boolean (0 or 1)\fR : Whether to show tooltips for tasks.
641 .IP \(bu 2
642 \fB\fCtask\_thumbnail = boolean (0 or 1)\fR : Whether to show thumbnail tooltips for tasks. \fI(since 16.0)\fP
643 .IP \(bu 2
644 \fB\fCtask\_thumbnail\_size = width\fR : Thumbnail size. \fI(since 16.0)\fP
645 .IP \(bu 2
646 \fB\fCtask\_maximum\_size = width height\fR
648 .IP \(bu 2
649 \fB\fCwidth\fR is used with horizontal panels to limit the size of the tasks. Use \fB\fCwidth = 0\fR to get full taskbar width.
650 .IP \(bu 2
651 \fB\fCheight\fR is used with vertical panels.
655 .IP \(bu 2
656 \fB\fCtask\_padding = horizontal\_padding vertical\_padding spacing\fR
657 .IP \(bu 2
658 \fB\fCurgent\_nb\_of\_blink = integer\fR : Number of blinks on 'get attention' events.
666 .IP \(bu 2
667 \fB\fCtask\_font = [FAMILY\-LIST] [STYLE\-OPTIONS] [SIZE]\fR
668 .IP \(bu 2
669 \fB\fCtask\_font\_color = color opacity (0 to 100)\fR
670 .IP \(bu 2
671 \fB\fCtask\_icon\_asb = alpha (0 to 100) saturation (\-100 to 100) brightness (\-100 to 100)\fR : Adjust the task icon's color and transparency.
672 .IP \(bu 2
673 \fB\fCtask\_background\_id = integer\fR : Which background to use for non selected tasks
678 For the next 3 options STATUS can be \fB\fCactive\fR / \fB\fCiconified\fR  / \fB\fCurgent\fR:
679   * \fB\fCtask\_STATUS\_font\_color = color opacity (0 to 100)\fR
682 .IP \(bu 2
683 \fB\fCtask\_STATUS\_icon\_asb = alpha (0 to 100) saturation (\-100 to 100) brightness (\-100 to 100)\fR : Adjusts the task icon's color and transparency.
684 .IP \(bu 2
685 \fB\fCtask\_STATUS\_background\_id = integer\fR : Which background to use for the task.
689 .SS Mouse actions for taskbar buttons
691 The possible mouse events are: \fB\fCleft, middle, right, scroll\_up, scroll\_down\fR\&.
694 The possible mouse actions are: \fB\fCnone, close, toggle, iconify, shade, toggle\_iconify, maximize\_restore, desktop\_left, desktop\_right, next\_task, prev\_task\fR\&.
697 Use \fB\fCmouse\_event = action\fR to customize mouse actions. Example:
703   mouse\_middle = none
704   mouse\_right = close
705   mouse\_scroll\_up = toggle
706   mouse\_scroll\_down = iconify
712 The action semantics:
713   * \fB\fCnone\fR : If \fB\fCwm\_menu = 1\fR is set, the mouse event is forwarded to the window manager. Otherwise it is ignored.
714   * \fB\fCclose\fR : close the task
715   * \fB\fCtoggle\fR : toggle the task
716   * \fB\fCiconify\fR : iconify (minimize) the task
717   * \fB\fCtoggle\_iconify\fR : toggle or iconify the task
718   * \fB\fCmaximize\_restore\fR : maximized or minimized the task
719   * \fB\fCshade\fR : shades (collapses) the task
720   * \fB\fCdesktop\_left\fR : send the task to the desktop on the left
721   * \fB\fCdesktop\_right\fR : send the task to the desktop on the right
722   * \fB\fCnext\_task\fR : send the focus to next task
723   * \fB\fCprev\_task\fR : send the focus to previous task
725 .SS System Tray
727 .IP \(bu 2
728 \fB\fCsystray\_padding = horizontal\_padding vertical\_padding spacing\fR
729 .IP \(bu 2
730 \fB\fCsystray\_background\_id = integer\fR : Which background to use.
731 .IP \(bu 2
732 \fB\fCsystray\_sort = ascending/descending/left2right/right2left\fR : Specifies the sorting order for the icons in the systray: in ascending/descending alphabetical order of the icon title, or always add icons to the right/left (note that with \fB\fCleft2right\fR or \fB\fCright2left\fR the order can be different on panel restart).
733 .IP \(bu 2
734 \fB\fCsystray\_icon\_size = max\_icon\_size\fR : Set the maximum system tray icon size to \fB\fCnumber\fR\&. Set to \fB\fC0\fR for automatic icon sizing.
735 .IP \(bu 2
736 \fB\fCsystray\_icon\_asb = alpha (0 to 100) saturation (\-100 to 100) brightness (\-100 to 100)\fR : Adjust the systray icons color and transparency.
737 .IP \(bu 2
738 \fB\fCsystray\_monitor = integer (1, 2, ...) or primary\fR :  On which monitor to draw the systray. The first monitor is \fB\fC1\fR\&. \fI(since 0.12)\fP
739 .IP \(bu 2
740 \fB\fCsystray\_name\_filter = string\fR :  Regular expression to identify icon names to be hidden. For example, \fB\fC^audacious$\fR will hide icons with the exact name \fB\fCaudacious\fR, while \fB\fCaud\fR will hide any icons having \fB\fCaud\fR in the name. \fI(since 0.13.1)\fP
744 .SS Clock
746 .IP \(bu 2
747 \fB\fCtime1\_format = %H:%M\fR : The format used by the first line of the clock.
749 .IP \(bu 2
750 \fB\fCtime1\_format\fR, \fB\fCtime2\_format\fR and \fB\fCclock\_tooltip\fR use the 'strftime' syntax. More info can be found here: http://www.manpagez.com/man/3/strftime/
751 .IP \(bu 2
752 To hide the clock, comment \fB\fCtime1\_format\fR and \fB\fCtime2\_format\fR\&.
756 .IP \(bu 2
757 \fB\fCtime1\_timezone = :US/Hawaii\fR
759 .IP \(bu 2
760 \fB\fCtime1\_timezone\fR, \fB\fCtime2\_timezone\fR and \fB\fCclock\_tooltip\_timezone\fR can be used to specify a timezone. If you do not specify a value the system\-wide timezone is used. The timezones can usually be found in \fB\fC/usr/share/zoneinfo\fR\&. If your timezones are in a different directory, you need to specify the absolute path, e.g. \fB\fCtime1\_timezone = :/different/zoneinfo/dir/US/Hawaii\fR Always prepend the timezone with a ':'
764 .IP \(bu 2
765 \fB\fCtime1\_font = [FAMILY\-LIST] [STYLE\-OPTIONS] [SIZE]\fR
766 .IP \(bu 2
767 \fB\fCtime2\_format = %A %d %B\fR
768 .IP \(bu 2
769 \fB\fCtime2\_timezone = :Europe/Berlin\fR
770 .IP \(bu 2
771 \fB\fCtime2\_font = [FAMILY\-LIST] [STYLE\-OPTIONS] [SIZE]\fR
772 .IP \(bu 2
773 \fB\fCclock\_font\_color = color opacity (0 to 100)\fR
774 .IP \(bu 2
775 \fB\fCclock\_padding = horizontal\_padding vertical\_padding\fR
776 .IP \(bu 2
777 \fB\fCclock\_background\_id = integer\fR : Which background to use
778 .IP \(bu 2
779 \fB\fCclock\_tooltip = %a, %d. %b %Y\fR : Format for the clock's tooltip.
780 .IP \(bu 2
781 \fB\fCclock\_tooltip\_timezone = :UTC\fR
782 .IP \(bu 2
783 \fB\fCclock\_lclick\_command = text\fR : Command to execute on left click.
784 .IP \(bu 2
785 \fB\fCclock\_rclick\_command = text\fR : Command to execute on right click.
786 .IP \(bu 2
787 \fB\fCclock\_mclick\_command = text\fR : Command to execute on middle click. \fI(since 0.12.1)\fP
788 .IP \(bu 2
789 \fB\fCclock\_uwheel\_command = text\fR : Command to execute on wheel scroll up. \fI(since 0.12.1)\fP
790 .IP \(bu 2
791 \fB\fCclock\_dwheel\_command = text\fR : Command to execute on wheel scroll down. \fI(since 0.12.1)\fP
795 .SS Tooltip
797 .IP \(bu 2
798 \fB\fCtooltip\_padding = horizontal\_padding vertical\_padding\fR
799 .IP \(bu 2
800 \fB\fCtooltip\_show\_timeout = float\fR : Delay to show the tooltip in seconds. Use \fB\fC\&.\fR as decimal separator.
801 .IP \(bu 2
802 \fB\fCtooltip\_hide\_timeout = float\fR : Delay to hide the tooltip in seconds. Use \fB\fC\&.\fR as decimal separator.
803 .IP \(bu 2
804 \fB\fCtooltip\_background\_id = integer\fR : Which background to use for tooltips. Note that with fake transparency the alpha channel and corner radius options are not respected.
805 .IP \(bu 2
806 \fB\fCtooltip\_font\_color = color opacity  (0 to 100)\fR
807 .IP \(bu 2
808 \fB\fCtooltip\_font = [FAMILY\-LIST] [STYLE\-OPTIONS] [SIZE]\fR
812 .SS Battery
814 .IP \(bu 2
815 \fB\fCbattery\_hide = never/integer (0 to 100)\fR : At what battery percentage the battery item is hidden.
816 .IP \(bu 2
817 \fB\fCbattery\_low\_status = integer\fR: At what battery percentage the low command is executed.
818 .IP \(bu 2
819 \fB\fCbattery\_low\_cmd = xmessage 'tint2: Battery low!'\fR : Command to execute when the battery is low.
820 .IP \(bu 2
821 \fB\fCbattery\_full\_cmd = notify\-send "battery full"\fR : Command to execute when the battery is full.
822 .IP \(bu 2
823 \fB\fCbat1\_font = [FAMILY\-LIST] [STYLE\-OPTIONS] [SIZE]\fR
824 .IP \(bu 2
825 \fB\fCbat2\_font = [FAMILY\-LIST] [STYLE\-OPTIONS] [SIZE]\fR
826 .IP \(bu 2
827 \fB\fCbattery\_font\_color = color opacity (0 to 100)\fR
828 .IP \(bu 2
829 \fB\fCbat1\_format = FORMAT\_STRING\fR : Format for battery line 1. Default: %p. \fI(since 1.0)\fP Format specification:
831 .IP \(bu 2
832 %s: State (charging, discharging, full, unknown).
833 .IP \(bu 2
834 %m: Minutes left until completely charged/discharged (estimated).
835 .IP \(bu 2
836 %h: Hours left until completely charged/discharged (estimated).
837 .IP \(bu 2
838 %t: Time left. Shows "hrs:mins" when charging/discharging, or "Ful\\" when full.
839 .IP \(bu 2
840 %p: Percentage. Includes the % sign.
841 .IP \(bu 2
842 %P: Percentage. Without the % sign.
846 .IP \(bu 2
847 \fB\fCbat2\_format = FORMAT\_STRING\fR : Format for battery line 2. Default: %t. \fI(since 1.0)\fP
848 .IP \(bu 2
849 \fB\fCbattery\_padding = horizontal\_padding vertical\_padding\fR
850 .IP \(bu 2
851 \fB\fCbattery\_background\_id = integer\fR : Which background to use for the battery.
852 .IP \(bu 2
853 \fB\fCbattery\_tooltip\_enabled = boolean (0 or 1)\fR : Enable/disable battery tooltips. \fI(since 0.12.3)\fP
854 .IP \(bu 2
855 \fB\fCbattery\_lclick\_command = text\fR : Command to execute on left click. \fI(since 0.12.1)\fP
856 .IP \(bu 2
857 \fB\fCbattery\_rclick\_command = text\fR : Command to execute on right click. \fI(since 0.12.1)\fP
858 .IP \(bu 2
859 \fB\fCbattery\_mclick\_command = text\fR : Command to execute on middle click. \fI(since 0.12.1)\fP
860 .IP \(bu 2
861 \fB\fCbattery\_uwheel\_command = text\fR : Command to execute on wheel scroll up. \fI(since 0.12.1)\fP
862 .IP \(bu 2
863 \fB\fCbattery\_dwheel\_command = text\fR : Command to execute on wheel scroll down. \fI(since 0.12.1)\fP
864 .IP \(bu 2
865 \fB\fCac\_connected\_cmd = text\fR : Command to execute when the power adapter is plugged in. \fI(since 0.12.3)\fP
866 .IP \(bu 2
867 \fB\fCac\_disconnected\_cmd = text\fR : Command to execute when the power adapter is unplugged. \fI(since 0.12.3)\fP
871 .SS Executor
873 .IP \(bu 2
874 \fB\fCexecp = new\fR : Begins the configuration of a new executor plugin. Multiple such plugins are supported; just use multiple \fB\fCE\fRs in \fB\fCpanel\_items\fR\&. \fI(since 0.12.4)\fP
875 .IP \(bu 2
876 \fB\fCexecp\_name = text\fR : A name that can be used with \fB\fCtint2\-send refresh\-execp\fR to re\-execute the command. \fI(since 17.0.2)\fP
877 .IP \(bu 2
878 \fB\fCexecp\_command = text\fR : Command to execute. \fI(since 0.12.4)\fP
879 .IP \(bu 2
880 \fB\fCexecp\_interval = integer\fR : The command is executed again after \fB\fCexecp\_interval\fR seconds from the moment it exits. If zero, the command is executed only once. \fI(since 0.12.4)\fP
881 .IP \(bu 2
882 \fB\fCexecp\_continuous = integer\fR : If non\-zero, the last \fB\fCexecp\_continuous\fR lines from the output of the command are displayed, every \fB\fCexecp\_continuous\fR lines; this is useful for showing the output of commands that run indefinitely, such as \fB\fCping 127.0.0.1\fR\&. If zero, the output of the command is displayed after it finishes executing. \fI(since 0.12.4)\fP
883 .IP \(bu 2
884 \fB\fCexecp\_has\_icon = boolean (0 or 1)\fR : If \fB\fCexecp\_has\_icon = 1\fR, the first line printed by the command is interpreted as a path to an image file. \fI(since 0.12.4)\fP
885 .IP \(bu 2
886 \fB\fCexecp\_cache\_icon = boolean (0 or 1)\fR : If \fB\fCexecp\_cache\_icon = 0\fR, the image is reloaded each time the command is executed (useful if the image file is changed on disk by the program executed by \fB\fCexecp\_command\fR). \fI(since 0.12.4)\fP
887 .IP \(bu 2
888 \fB\fCexecp\_icon\_w = integer\fR : You can use \fB\fCexecp\_icon\_w\fR and \fB\fCexecp\_icon\_h\fR to resize the image. If one of them is zero/missing, the image is rescaled proportionally. If both of them are zero/missing, the image is not rescaled. \fI(since 0.12.4)\fP
889 .IP \(bu 2
890 \fB\fCexecp\_icon\_h = integer\fR : See \fB\fCexecp\_icon\_w\fR\&. \fI(since 0.12.4)\fP
891 .IP \(bu 2
892 \fB\fCexecp\_tooltip = text\fR : The tooltip. If left empty \- no tooltip is displayed. If missing \- the standard error of the command is shown as a tooltip. If the standard error is empty, the tooltip will show information about the time when the command was last executed. \fI(since 0.12.4)\fP
894 An ANSI clear screen sequence can reset the contents:
896 .IP \(bu 2
897 shell: \fB\fCprintf '\\e[2J'\fR
898 .IP \(bu 2
899 C:     \fB\fCprintf ("\\x1b[2J");\fR
900 .IP \(bu 2
901 shell using tput from ncurses: \fB\fCtput clear\fR)
903 \fBNote:\fP previous tint2 versions don't set TERM, so this must be done manually \- \fB\fCtput \-Tansi.sys\-old clear\fR
907 .IP \(bu 2
908 \fB\fCexecp\_font = [FAMILY\-LIST] [STYLE\-OPTIONS] [SIZE]\fR : The font used to draw the text.  \fI(since 0.12.4)\fP
909 .IP \(bu 2
910 \fB\fCexecp\_font\_color = color opacity\fR : The font color. \fI(since 0.12.4)\fP
911 .IP \(bu 2
912 \fB\fCexecp\_markup = boolean (0 or 1)\fR : If non\-zero, the output of the command is treated as Pango markup, which allows rich text formatting. The format is documented here
913 \[la]https://developer.gnome.org/pygtk/stable/pango-markup-language.html\[ra]\&. Note that using this with commands that print data downloaded from the Internet is a possible security risk. \fI(since 0.12.4)\fP
914 .IP \(bu 2
915 \fB\fCexecp\_background\_id = integer\fR : Which background to use. \fI(since 0.12.4)\fP
916 .IP \(bu 2
917 \fB\fCexecp\_centered = boolean (0 or 1)\fR : Whether to center the text. \fI(since 0.12.4)\fP
918 .IP \(bu 2
919 \fB\fCexecp\_padding = horizontal\_padding vertical\_padding spacing\_between\_icon\_and\_text\fR \fI(since 0.12.4)\fP
920 .IP \(bu 2
921 \fB\fCexecp\_monitor = integer (1, 2, ...), primary or all\fR :  On which monitor to draw the executor. The first monitor is \fB\fC1\fR\&. \fI(since 17.0)\fP
922 .IP \(bu 2
923 \fB\fCexecp\_lclick\_command = text\fR : Command to execute on left click. If not defined, \fB\fCexecp\_command\fR is  executed immediately, unless it is currently running. \fI(since 0.12.4)\fP
924 .IP \(bu 2
925 \fB\fCexecp\_mclick\_command = text\fR : Command to execute on right click. If not defined, \fB\fCexecp\_command\fR is  executed immediately, unless it is currently running. \fI(since 0.12.4)\fP
926 .IP \(bu 2
927 \fB\fCexecp\_rclick\_command = text\fR : Command to execute on middle click. If not defined, \fB\fCexecp\_command\fR is  executed immediately, unless it is currently running. \fI(since 0.12.4)\fP
928 .IP \(bu 2
929 \fB\fCexecp\_uwheel\_command = text\fR : Command to execute on wheel scroll up. If not defined, \fB\fCexecp\_command\fR is  executed immediately, unless it is currently running. \fI(since 0.12.4)\fP
930 .IP \(bu 2
931 \fB\fCexecp\_dwheel\_command = text\fR : Command to execute on wheel scroll down. If not defined, \fB\fCexecp\_command\fR is  executed immediately, unless it is currently running. \fI(since 0.12.4)\fP
932 .IP \(bu 2
933 \fB\fCexecp\_lclick\_command\_sink = integer (\-1, 0 or positive)\fR : Command sink for execp\_lclick\_command. If not defined or \-1 \- command is executed in new shell. 0 \- use sink for local executor (executors only). \fI(since 17.1)\fP
934 .IP \(bu 2
935 \fB\fCexecp\_mclick\_command\_sink = integer (\-1, 0 or positive)\fR : Command sink for execp\_mclick\_command. If not defined or \-1 \- command is executed in new shell. 0 \- use sink for local executor (executors only). \fI(since 17.1)\fP
936 .IP \(bu 2
937 \fB\fCexecp\_rclick\_command\_sink = integer (\-1, 0 or positive)\fR : Command sink for execp\_rclick\_command. If not defined or \-1 \- command is executed in new shell. 0 \- use sink for local executor (executors only). \fI(since 17.1)\fP
938 .IP \(bu 2
939 \fB\fCexecp\_uwheel\_command\_sink = integer (\-1, 0 or positive)\fR : Command sink for execp\_uwheel\_command. If not defined or \-1 \- command is executed in new shell. 0 \- use sink for local executor (executors only). \fI(since 17.1)\fP
940 .IP \(bu 2
941 \fB\fCexecp\_dwheel\_command\_sink = integer (\-1, 0 or positive)\fR : Command sink for execp\_dwheel\_command. If not defined or \-1 \- command is executed in new shell. 0 \- use sink for local executor (executors only). \fI(since 17.1)\fP
945 .SS Executor samples
946 .SS Print the hostname
951 execp = new
952 execp\_command = hostname
953 execp\_interval = 0
958 .SS Print disk usage for the root partition every 10 seconds
963 execp = new
964 execp\_command = while df \-h; do sleep 1; done | stdbuf \-oL awk '$6 == "/" { print $6 ": " $2 " " $5 }'
965 execp\_interval = 10
970 .SS Button with icon and rich text, executes command when clicked
975 execp = new
976 execp\_command = echo /usr/share/icons/elementary\-xfce/emblems/24/emblem\-colors\-blue.png; echo '<span foreground="#7f7">Click</span> <span foreground="#77f">me</span> <span foreground="#f77">pls</span>'
977 execp\_has\_icon = 1
978 execp\_interval = 0
979 execp\_centered = 1
980 execp\_font = sans 9
981 execp\_markup = 1
982 execp\_font\_color = #aaffaa 100
983 execp\_padding = 2 0
984 execp\_tooltip = I will tell you a secret...
985 execp\_lclick\_command = zenity \-\-info "\-\-text=$(uname \-sr)"
986 execp\_background\_id = 2
991 .SS Desktop pager with text
996 execp = new
997 execp\_command = xprop \-root \-spy | stdbuf \-oL awk '/^\_NET\_CURRENT\_DESKTOP/ { print "Workspace " ($3 + 1) }'
998 execp\_interval = 1
999 execp\_continuous = 1
1004 .SS Desktop pager with icon
1009 execp\_command = xprop \-root \-spy | stdbuf \-oL awk \-v home="$HOME" '/^\_NET\_CURRENT\_DESKTOP/ { print home "/.config/myPager/" ($3 + 1) ".png\\n" }'
1010 execp\_interval = 1
1011 execp\_has\_icon = 1
1012 execp\_cache\_icon = 1
1013 execp\_continuous = 2
1018 .SS Round\-trip time to the gateway, refreshed every second
1023 execp = new
1024 execp\_command = ping \-i 1 \-W 1 \-O \-D \-n $(ip route | grep '^default.* via' | grep \-o '[0\-9]*\\.[0\-9]*\\.[0\-9]*\\.[0\-9]*') | stdbuf \-oL awk \-F'[ =]' '/no answer/ { print "<span foreground=\\"#faa\\">timeout</span>" } /time=/ { printf "<span foreground=\\"#7af\\">%3.0f %s</span>\\n", $11, $12 }'
1025 execp\_continuous = 1
1026 execp\_interval = 1
1027 execp\_markup = 1
1032 .SS Memory usage
1037 # Note the use of "stdbuf \-oL" to force the program to flush the output line by line.
1038 execp = new
1039 execp\_command = free \-b \-s1 | stdbuf \-oL awk '/^Mem:/ { printf "Mem: %s %.0f%%\\n", $2, 100 * ($2 \- $7) / $2 }' | stdbuf \-oL numfmt \-\-to=iec\-i \-\-field=2 \-d' '
1040 execp\_interval = 1
1041 execp\_continuous = 1
1046 .SS X keyboard layout with icon and tooltip with
1051 execp = new
1052 execp\_command = skb | stdbuf \-oL \-eL awk \-v "c=$(tput \-Tansi.sys\-old clear)" '{ print "/usr/share/xxkb/"tolower(substr($1,0,2))"15.xpm"; print c$1 | "cat >\&2" }'
1053 execp\_interval = 1
1054 execp\_continuous = 1
1059 .SS Network load
1064 execp = new
1065 execp\_command = stdbuf \-oL bwm\-ng \-o csv \-t 1000 | stdbuf \-oL awk \-F ';' '/total/ { printf "Net: %.0f Mb/s\\n", ($5*8/1.0e6) }'
1066 execp\_continuous = 1
1067 execp\_interval = 1
1072 .SS Dumb executor sink example
1077 execp = new
1078 execp\_command = echo waiting; stdbuf \-oL sed 's/^/Event:/'
1079 execp\_continuous = 1
1080 execp\_lclick\_command = Left Button
1081 execp\_rclick\_command = Right Button
1082 execp\_mclick\_command = Middle Button
1083 execp\_uwheel\_command = Scroll Up
1084 execp\_dwheel\_command = Scroll Down
1085 execp\_lclick\_command\_sink = 0
1086 execp\_rclick\_command\_sink = 0
1087 execp\_mclick\_command\_sink = 0
1088 execp\_uwheel\_command\_sink = 0
1089 execp\_dwheel\_command\_sink = 0
1094 .SS Button
1096 .IP \(bu 2
1097 \fB\fCbutton = new\fR : Begins the configuration of a new button. Multiple such plugins are supported; just use multiple \fB\fCP\fRs in \fB\fCpanel\_items\fR\&. \fI(since 0.14)\fP
1098 .IP \(bu 2
1099 \fB\fCbutton\_icon = text\fR : Name or path of icon (or empty). \fI(since 0.14)\fP
1100 .IP \(bu 2
1101 \fB\fCbutton\_text = text\fR : Text to display (or empty). \fI(since 0.14)\fP
1102 .IP \(bu 2
1103 \fB\fCbutton\_tooltip = text\fR : The tooltip (or empty). \fI(since 0.14)\fP
1104 .IP \(bu 2
1105 \fB\fCbutton\_font = [FAMILY\-LIST] [STYLE\-OPTIONS] [SIZE]\fR : The font used to draw the text.  \fI(since 0.14)\fP
1106 .IP \(bu 2
1107 \fB\fCbutton\_font\_color = color opacity\fR : The font color. \fI(since 0.14)\fP
1108 .IP \(bu 2
1109 \fB\fCbutton\_background\_id = integer\fR : Which background to use. \fI(since 0.14)\fP
1110 .IP \(bu 2
1111 \fB\fCbutton\_centered = boolean (0 or 1)\fR : Whether to center the text. \fI(since 0.14)\fP
1112 .IP \(bu 2
1113 \fB\fCbutton\_padding = horizontal\_padding vertical\_padding spacing\_between\_icon\_and\_text\fR \fI(since 0.14)\fP
1114 .IP \(bu 2
1115 \fB\fCbutton\_max\_icon\_size = integer\fR : Sets a limit to the icon size. Otherwise, the icon will expand to the edges. \fI(since 0.14)\fP
1116 .IP \(bu 2
1117 \fB\fCbutton\_lclick\_command = text\fR : Command to execute on left click. If not defined, \fB\fCexecp\_command\fR is  executed immediately, unless it is currently running. \fI(since 0.14)\fP
1118 .IP \(bu 2
1119 \fB\fCbutton\_mclick\_command = text\fR : Command to execute on right click. If not defined, \fB\fCexecp\_command\fR is  executed immediately, unless it is currently running. \fI(since 0.14)\fP
1120 .IP \(bu 2
1121 \fB\fCbutton\_rclick\_command = text\fR : Command to execute on middle click. If not defined, \fB\fCexecp\_command\fR is  executed immediately, unless it is currently running. \fI(since 0.14)\fP
1122 .IP \(bu 2
1123 \fB\fCbutton\_uwheel\_command = text\fR : Command to execute on wheel scroll up. If not defined, \fB\fCexecp\_command\fR is  executed immediately, unless it is currently running. \fI(since 0.14)\fP
1124 .IP \(bu 2
1125 \fB\fCbutton\_dwheel\_command = text\fR : Command to execute on wheel scroll down. If not defined, \fB\fCexecp\_command\fR is  executed immediately, unless it is currently running. \fI(since 0.14)\fP
1129 .SS Separator
1131 .IP \(bu 2
1132 \fB\fCseparator = new\fR : Begins the configuration of a new separator. Multiple such plugins are supported; just use multiple \fB\fC:\fRs in \fB\fCpanel\_items\fR\&. \fI(since 0.13.0)\fP
1133 .IP \(bu 2
1134 \fB\fCseparator\_background\_id = integer\fR : Which background to use. \fI(since 0.13.0)\fP
1135 .IP \(bu 2
1136 \fB\fCseparator\_color = color opacity\fR : The foreground color. \fI(since 0.13.0)\fP
1137 .IP \(bu 2
1138 \fB\fCseparator\_style = [empty | line | dots]\fR : The separator style. \fI(since 0.13.0)\fP
1139 .IP \(bu 2
1140 \fB\fCseparator\_size = integer\fR : The thickness of the separator. Does not include the border and padding. For example, if the style is \fB\fCline\fR, this is the line thickness; if the style is \fB\fCdots\fR, this is the dot's diameter. \fI(since 0.13.0)\fP
1141 .IP \(bu 2
1142 \fB\fCseparator\_padding = side\_padding cap\_padding\fR : The padding to add to the sides of the separator, in pixels. \fI(since 0.13.0)\fP
1146 .SS Example configuration
1148 See /etc/xdg/tint2/tint2rc.
1150 .SH AUTHOR
1152 tint2 was written by Thierry Lorthiois lorthiois@bbsoft.fr
1153 \[la]mailto:lorthiois@bbsoft.fr\[ra]\&.
1154 It is based on ttm, originally written by Pål Staurland staura@gmail.com
1155 \[la]mailto:staura@gmail.com\[ra]\&.
1158 This manual page was originally written by Daniel Moerner dmoerner@gmail.com
1159 \[la]mailto:dmoerner@gmail.com\[ra], for the Debian project (but may be used by others).
1160 It was adopted from the tint2 docs.
1162 .SH SEE ALSO
1164 The main website https://gitlab.com/nick87720z/tint2
1165 and the wiki page at https://gitlab.com/o9000/tint2/wikis/home.
1168 This documentation is also provided in HTML and Markdown format in the system's default location
1169 for documentation files, usually \fB\fC/usr/share/doc/tint2\fR or \fB\fC/usr/local/share/doc/tint2\fR\&.