Commit graph

30 commits

Author SHA1 Message Date
o9000
067234e9fb Unify code used to execute external programs 2017-04-29 13:42:37 +02:00
o9000
701b57e113 Open current tint2 config automatically when started from tint2 2017-04-22 19:07:49 +02:00
o9000
affac4cfa6 Changed indentation everywhere 2017-04-13 14:07:23 +02:00
o9000
737150d7e9 Work better with empty config files 2015-12-27 15:39:39 +01:00
o9000
9a85f7f2c5 Use default desktop font (Gtk/FontName from XSettings) when the font is not specified in the config file 2015-12-12 15:14:42 +01:00
o9000
4a6937826c Cleanup indentation with clang-format and changed a few variable names 2015-11-20 23:28:37 +01:00
berkley4
e84d963ab6 Allow middle click & up/down mousewheel on the clock
The bulk of this commit originally came from David B. Cortarello's
patch (see here - https://gitlab.com/o9000/tint2/issues/430), with me
adding the up/down mousewheel elements.

Under Openbox the middle-click is normally used to display the Openbox
menu and the mousewheel to switch desktop. So I needed to modify tint.c
in order to prevent openbox intercepting the new actions.

This commit creates the following new configuration settings :-

clock_mclick_command
clock_uwheel_command
clock_dwheel_command
2015-07-13 04:10:45 +01:00
thilor77
aabe6b11b9 add comment
git-svn-id: http://tint2.googlecode.com/svn/trunk@545 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-16 23:24:25 +00:00
thilor77
7ee42e8ca1 SIGUSR1 does now a full restat of tint2
git-svn-id: http://tint2.googlecode.com/svn/trunk@424 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-04-18 14:28:45 +00:00
thilor77
c298a39d00 moved initial values in function default_xxx
git-svn-id: http://tint2.googlecode.com/svn/trunk@423 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-04-18 12:07:36 +00:00
thilor77
3adb7e2080 cleanup default value on SIGUSR1
git-svn-id: http://tint2.googlecode.com/svn/trunk@421 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-04-16 18:50:03 +00:00
Andreas.Fink85
739af13714 *add* more task states (normal, active, iconified, urgent), with each an own background, font and asb
*fix* two memleaks
*fix* some code beautification



git-svn-id: http://tint2.googlecode.com/svn/trunk@327 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-09 00:11:01 +00:00
Andreas.Fink85
c65ad3628d *add* clock supports timezones
*add* first preparations for real transparency (tooltip works already, but panel does not. Therefore it is disabled in the source code)


git-svn-id: http://tint2.googlecode.com/svn/trunk@304 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-30 11:27:29 +00:00
Andreas.Fink85
db83997eae *add* clock tooltip finished, see issue 115
*fix* reset sigmask before forking



git-svn-id: http://tint2.googlecode.com/svn/trunk@272 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-16 17:54:46 +00:00
Andreas.Fink85
806451955b *add* changed everything to kernel timer for easier integration with new timer
*todo* adapt tooltip also to the timer syntax
*fix* memory leak



git-svn-id: http://tint2.googlecode.com/svn/trunk@266 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-15 16:55:50 +00:00
lorthiois@bbsoft.fr
c763cf7172 fixed config reload SIGUSR1. added systray = 1 parameter to enable systray
git-svn-id: http://tint2.googlecode.com/svn/trunk@242 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-10-30 17:18:44 +00:00
lorthiois@bbsoft.fr
cd5b2b26a9 issue 158 : dissociate object initialization from panel initialization
git-svn-id: http://tint2.googlecode.com/svn/trunk@220 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-10-18 17:54:09 +00:00
lorthiois@bbsoft.fr
a3177fadd9 fixed indentation inconsistency by dmitry
git-svn-id: http://tint2.googlecode.com/svn/trunk@193 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-20 20:48:00 +00:00
lorthiois@bbsoft.fr
41b8b3aa53 fixed issue 46 and 59 : urgent task
git-svn-id: http://tint2.googlecode.com/svn/trunk@85 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-06-05 18:53:49 +00:00
lorthiois@bbsoft.fr
26ab02d533 clock command on rigt/left click by dmitry.medvinsky
git-svn-id: http://tint2.googlecode.com/svn/trunk@84 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-06-04 18:41:14 +00:00
lorthiois@bbsoft.fr
67f875338b basic systray with some bugs, update tintrc sample file
git-svn-id: http://tint2.googlecode.com/svn/trunk@64 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-02-28 23:04:53 +00:00
lorthiois@bbsoft.fr
9cc4916c69 cleanup code
git-svn-id: http://tint2.googlecode.com/svn/trunk@56 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-02-15 17:22:48 +00:00
lorthiois@bbsoft.fr
6c57698291 fixed bug : clock resize when date changed, number of desktop changed
git-svn-id: http://tint2.googlecode.com/svn/trunk@51 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-02-10 23:16:10 +00:00
lorthiois@bbsoft.fr
7393ceaf20 big change : panel_monitor = all will draw one panel per monitor, panel_size accept percentage or pixel, update documentation, taskbar_mode = single_monitor show tasks of current monitor
git-svn-id: http://tint2.googlecode.com/svn/trunk@32 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-02-07 23:28:13 +00:00
lorthiois@bbsoft.fr
5b4d782ca2 fixed issue 13, removed Window magager s menu for stability reason
git-svn-id: http://tint2.googlecode.com/svn/trunk@31 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-02-03 20:40:46 +00:00
lorthiois@bbsoft.fr
e36c729d7b add another padding parameter in config file, update documentation and sample config file
git-svn-id: http://tint2.googlecode.com/svn/trunk@28 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-01-20 21:16:54 +00:00
lorthiois@bbsoft.fr
d818e66097 fixed bug with "task on all desktop" (issue 39), fixed memory corruption
git-svn-id: http://tint2.googlecode.com/svn/trunk@26 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-01-18 22:12:41 +00:00
lorthiois@bbsoft.fr
e0a80ef5a2 fixed decorated window with compiz
git-svn-id: http://tint2.googlecode.com/svn/trunk@22 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-01-05 21:01:05 +00:00
lorthiois@bbsoft.fr
b1c239db22 fixed bugs with new design (first step)
git-svn-id: http://tint2.googlecode.com/svn/trunk@18 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2008-11-08 20:23:42 +00:00
lorthiois@bbsoft.fr
420dd5d1e2 New import
git-svn-id: http://tint2.googlecode.com/svn/trunk@13 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2008-10-02 18:47:02 +00:00