update documentation for new config format

git-svn-id: http://tint2.googlecode.com/svn/trunk@25 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr 2009-01-18 14:32:34 +00:00
parent 0ecea24ee6
commit 067f07625e
9 changed files with 38 additions and 43 deletions

10
AUTHORS
View file

@ -1,6 +1,10 @@
Developed by:
Thierry Lorthiois <lorthiois@bbsoft.fr>, project maintainer tint2 is developped by :
Pål Staurland <staura@gmail.com>, tint2 is based on ttm originally written by Pål Staurland - 2008 Thierry Lorthiois <lorthiois@bbsoft.fr>, project maintainer
tint2 is based on ttm source code (http://code.google.com/p/ttm/)
- 2007 Pål Staurland <staura@gmail.com>
Contributors: Contributors:

View file

@ -1,4 +1,6 @@
2009-01-17
- fixed drawing of active task (with new layout)
2009-01-05 2009-01-05
- fixed decorated window with compiz - fixed decorated window with compiz

14
README
View file

@ -1,5 +1,5 @@
DEPENDENCIES: DEPENDENCIES:
cairo, pango, glib, imlib2, xrandr, xinerama cairo, pango, glib, imlib2, xinerama, xrandr
--------------------------------------------------------- ---------------------------------------------------------
INSTALL: INSTALL:
@ -10,21 +10,11 @@ as root type "make install"
execute "tint2" execute "tint2"
or "tint2 -c path_to_config_file" or "tint2 -c path_to_config_file"
documentation is in /doc documentation is in /doc
check http://code.google.com/p/tint2/ check http://code.google.com/p/tint2/
for latest release, documentation and sample config file. for latest release, documentation and sample config file.
---------------------------------------------------------
FAQ:
- How to get menu in tint2 panel ?
use panel_padding = x y with option x>1
then put the mouse in left (or right) padding and right clic,
tint2 will open the menu of your Window manager.

View file

@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH TINT 1 "2008-09-05" .TH TINT2 1 "2009-01-17"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -16,35 +16,35 @@
.\" .sp <n> insert n+1 empty lines .\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7) .\" for manpage-specific macros, see man(7)
.SH NAME .SH NAME
tint \- lightweight taskbar tint2 \- lightweight taskbar
.SH SYNOPSIS .SH SYNOPSIS
.B tint .B tint2
.br .br
.B tint .B tint2
.RI -c .RI -c
.IR /path/to/config/file .IR /path_to_config_file
.SH DESCRIPTION .SH DESCRIPTION
This manual page documents briefly the This manual page documents briefly the
.B tint .B tint2
command. command.
.PP .PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and .\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, .\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively. .\" respectively.
\fBtint\fP is a simple panel/taskbar intentionally made for openbox3, but \fBtint2\fP is a simple panel/taskbar intentionally made for openbox3, but
should also work with other window managers. It's based on ttm code. The goal is to keep a clean and unintrusive look with code lightweight and should also work with other window managers. It's based on ttm code. The goal is to keep a clean and unintrusive look with code lightweight and
compliance with freedesktop specifications. compliance with freedesktop specifications.
.PP .PP
On the first startup tint creates a config file in $HOME/.config/tint/tintrc. On the first startup tint2 creates a config file in $HOME/.config/tint2/tint2rc.
See the /usr/share/tint2/doc directory for more information. See the /usr/share/tint2/doc directory for more information.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B \-c config-file .B \-c config-file
Specify which configuration file to use instead of the default. Specify which configuration file to use instead of the default.
.SH AUTHOR .SH AUTHOR
tint was written by Thierry Lorthiois <lorthiois@bbsoft.fr>. It is based on tint2 was written by Thierry Lorthiois <lorthiois@bbsoft.fr>. It is based on
ttm, originally written by Pål Staurland <staura@gmail.com> ttm, originally written by Pål Staurland <staura@gmail.com>
.PP .PP
This manual page was written by Daniel Moerner <dmoerner@gmail.com>, This manual page was written by Daniel Moerner <dmoerner@gmail.com>,
for the Debian project (but may be used by others). It was adopted from the for the Debian project (but may be used by others). It was adopted from the
tint docs. tint2 docs.

Binary file not shown.

Binary file not shown.

View file

@ -162,12 +162,12 @@ void get_icon (Task *tsk)
XFree (data); XFree (data);
} }
else { else {
printf("get_icon vide\n");
//XWMHints *hints; //XWMHints *hints;
//hints = XGetWMHints(server.dsp, tkwin); //hints = XGetWMHints(server.dsp, tkwin);
//if (hints != NULL) { //if (hints != NULL) {
// XFree(hints); // XFree(hints);
//} //}
printf("get_icon vide\n");
// XChangeProperty (display, windowH, XInternAtom (display, "_NET_WM_ICON", False), XA_CARDINAL, 32, PropModeReplace, (unsigned char*) data, dataSize); // XChangeProperty (display, windowH, XInternAtom (display, "_NET_WM_ICON", False), XA_CARDINAL, 32, PropModeReplace, (unsigned char*) data, dataSize);
return; return;
} }

View file

@ -24,7 +24,7 @@ border_color = #ffffff 70
# PANEL # PANEL
#--------------------------------------------- #---------------------------------------------
panel_monitor = 1 panel_monitor = 1
panel_position = bottom center panel_position = top center
panel_size = 900 30 panel_size = 900 30
panel_margin = 15 2 panel_margin = 15 2
panel_padding = 9 0 panel_padding = 9 0
@ -34,7 +34,7 @@ panel_background_id = 1
#--------------------------------------------- #---------------------------------------------
# TASKBAR # TASKBAR
#--------------------------------------------- #---------------------------------------------
taskbar_mode = multi_desktop taskbar_mode = single_desktop
taskbar_padding = 2 4 taskbar_padding = 2 4
taskbar_background_id = 0 taskbar_background_id = 0

View file

@ -6,24 +6,23 @@
# BACKGROUND AND BORDER # BACKGROUND AND BORDER
#--------------------------------------------- #---------------------------------------------
rounded = 1 rounded = 1
border_width = 1 border_width = 0
background_color = #282828 100 background_color = #282828 40
border_color = #000000 100 border_color = #000000 40
rounded = 1 rounded = 1
border_width = 1 border_width = 1
background_color = #282828 100 background_color = #282828 0
#background_color = #3b3b3b 100 border_color = #cccccc 40
border_color = #cccccc 100
#--------------------------------------------- #---------------------------------------------
# PANEL # PANEL
#--------------------------------------------- #---------------------------------------------
panel_monitor = 1 panel_monitor = 1
panel_position = bottom right panel_position = top right
panel_size = 0 27 panel_size = 600 27
panel_margin = 0 20 panel_margin = 0 0
panel_padding = 4 2 panel_padding = 4 0
font_shadow = 0 font_shadow = 0
panel_background_id = 1 panel_background_id = 1
@ -38,12 +37,12 @@ taskbar_background_id = 0
# TASKS # TASKS
#--------------------------------------------- #---------------------------------------------
task_icon = 1 task_icon = 1
task_text = 1 task_text = 0
task_width = 200 task_width = 30
task_centered = 1 task_centered = 1
task_padding = 2 3 task_padding = 2 5
task_font = sans 8 task_font = sans 8
task_font_color = #ffffff 40 task_font_color = #ffffff 60
task_active_font_color = #ffffff 100 task_active_font_color = #ffffff 100
task_background_id = 0 task_background_id = 0
task_active_background_id = 2 task_active_background_id = 2
@ -62,7 +61,7 @@ time1_font = sans 7
time2_format = %A %d %B time2_format = %A %d %B
time2_font = sans 7 time2_font = sans 7
clock_font_color = #ffffff 100 clock_font_color = #ffffff 100
clock_padding = 0 0 clock_padding = 4 0
clock_background_id = 0 clock_background_id = 0
#--------------------------------------------- #---------------------------------------------