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
+7 -3
View File
@@ -1,6 +1,10 @@
Developed by:
Thierry Lorthiois <lorthiois@bbsoft.fr>, project maintainer
Pål Staurland <staura@gmail.com>, tint2 is based on ttm originally written by Pål Staurland
tint2 is developped by :
- 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:
+2
View File
@@ -1,4 +1,6 @@
2009-01-17
- fixed drawing of active task (with new layout)
2009-01-05
- fixed decorated window with compiz
+2 -12
View File
@@ -1,5 +1,5 @@
DEPENDENCIES:
cairo, pango, glib, imlib2, xrandr, xinerama
cairo, pango, glib, imlib2, xinerama, xrandr
---------------------------------------------------------
INSTALL:
@@ -10,21 +10,11 @@ as root type "make install"
execute "tint2"
or "tint2 -c path_to_config_file"
documentation is in /doc
check http://code.google.com/p/tint2/
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.
+10 -10
View File
@@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" 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.
.\"
.\" Some roff macros, for reference:
@@ -16,35 +16,35 @@
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
tint \- lightweight taskbar
tint2 \- lightweight taskbar
.SH SYNOPSIS
.B tint
.B tint2
.br
.B tint
.B tint2
.RI -c
.IR /path/to/config/file
.IR /path_to_config_file
.SH DESCRIPTION
This manual page documents briefly the
.B tint
.B tint2
command.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" 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
compliance with freedesktop specifications.
.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.
.SH OPTIONS
.TP
.B \-c config-file
Specify which configuration file to use instead of the default.
.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>
.PP
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
tint docs.
tint2 docs.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -162,12 +162,12 @@ void get_icon (Task *tsk)
XFree (data);
}
else {
printf("get_icon vide\n");
//XWMHints *hints;
//hints = XGetWMHints(server.dsp, tkwin);
//if (hints != NULL) {
// XFree(hints);
//}
printf("get_icon vide\n");
// XChangeProperty (display, windowH, XInternAtom (display, "_NET_WM_ICON", False), XA_CARDINAL, 32, PropModeReplace, (unsigned char*) data, dataSize);
return;
}
+2 -2
View File
@@ -24,7 +24,7 @@ border_color = #ffffff 70
# PANEL
#---------------------------------------------
panel_monitor = 1
panel_position = bottom center
panel_position = top center
panel_size = 900 30
panel_margin = 15 2
panel_padding = 9 0
@@ -34,7 +34,7 @@ panel_background_id = 1
#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = multi_desktop
taskbar_mode = single_desktop
taskbar_padding = 2 4
taskbar_background_id = 0
+14 -15
View File
@@ -6,24 +6,23 @@
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 1
border_width = 1
background_color = #282828 100
border_color = #000000 100
border_width = 0
background_color = #282828 40
border_color = #000000 40
rounded = 1
border_width = 1
background_color = #282828 100
#background_color = #3b3b3b 100
border_color = #cccccc 100
background_color = #282828 0
border_color = #cccccc 40
#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = 1
panel_position = bottom right
panel_size = 0 27
panel_margin = 0 20
panel_padding = 4 2
panel_position = top right
panel_size = 600 27
panel_margin = 0 0
panel_padding = 4 0
font_shadow = 0
panel_background_id = 1
@@ -38,12 +37,12 @@ taskbar_background_id = 0
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_width = 200
task_text = 0
task_width = 30
task_centered = 1
task_padding = 2 3
task_padding = 2 5
task_font = sans 8
task_font_color = #ffffff 40
task_font_color = #ffffff 60
task_active_font_color = #ffffff 100
task_background_id = 0
task_active_background_id = 2
@@ -62,7 +61,7 @@ time1_font = sans 7
time2_format = %A %d %B
time2_font = sans 7
clock_font_color = #ffffff 100
clock_padding = 0 0
clock_padding = 4 0
clock_background_id = 0
#---------------------------------------------