Commit graph

162 commits

Author SHA1 Message Date
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
17f94205b4 Execplugin: add pango markup option 2015-12-05 11:42:07 +01:00
o9000
ea82926b3f New config option: taskbar sort by LRU/MRU (no config GUI yet) (issue #532) 2015-12-05 11:07:23 +01:00
o9000
3f84d5d14c Merged execplugin from tint2-mods2 (no config GUI yet) 2015-12-05 10:05:42 +01:00
o9000
4a6937826c Cleanup indentation with clang-format and changed a few variable names 2015-11-20 23:28:37 +01:00
o9000
c0e62e2e79 Cleanup: area.h 2015-11-18 21:57:10 +01:00
o9000
095b311edc Mouse effects: changed defaults + disabled pixmap caching 2015-11-06 11:46:15 +01:00
o9000
0900c088ee Mouse effects: fixes, changed defaults, more config options 2015-11-04 23:14:11 +01:00
o9000
9e2fbec797 Launcher icon background 2015-11-04 02:05:41 +01:00
o9000
294fdee57f Mouse over effects 2015-11-04 01:32:13 +01:00
o9000
5b01670a22 Fix lost font setting for desktop name 2015-09-12 03:08:25 +02:00
o9000
00a1803348 if( -> if ( 2015-08-08 08:51:44 +02:00
Sebastian Reichel
db490247e0 Battery: support for ac connection event cmd
This add two new config options "ac_connected_cmd" and
"ac_disconnected_cmd". These commands are executed when
AC (mains supply) is connected or disconnected.
2015-08-07 05:22:09 +02:00
Sebastian Reichel
ffd659208a Add battery tooltip support
This adds a new config option 'battery_tooltip' (enabled
by default), which can be used to enable a tooltip for
the battery widget providing details for all installed
batteries.
2015-08-06 22:01:02 +02:00
o9000
c874e76343 Merge branch 'moreclicks' into 'master'
Moreclicks

The two commits in this merge request would allow the user to set up as many as eight extra custom actions via tint2rc.

I've been running these changes (minus the up/down wheel actions) for many months without any obvious issues, mainly to adjust laptop screen brightness via a couple of scripts.

I've just tested the wheel actions and they appeared to work fine. The clock commit should solve issue #505.

I have merely augmented the work of two other people, and appropriate credits/references are indicated in the individual commit messages.

See merge request !5
2015-08-01 07:02:51 +00:00
o9000
ceafe9b281 config: Add missing #if 2015-07-23 23:29:02 +02:00
o9000
f68eabcf35 config: Prevent segfault if panel_items appears late in the config file 2015-07-23 19:56:34 +02:00
berkley4
fd78e6d886 Allow clicking and mousewheeling on the battery panel
This commit is the same as vimishor's original [*] except that I have
added middle-click and up/down mousewheel actions. In order to fix a
ftbs I also added guards to panel.c, panel.h & tint.c

The following configuration settings have been created :-

battery_lclick_command
battery_mclick_command
battery_rclick_command
battery_uwheel_command
battery_dwheel_command

[*] c78732c46a
2015-07-13 04:57:16 +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
o9000
df1f2d4e4b Merge taskbar_alignment from branch 2015-06-12 00:52:10 +02:00
o9000
860c100a04 launcher: sort desktop files by name in launcher_apps_dir 2015-06-07 13:03:49 +02:00
o9000
a08491c122 Workaround for empty systray icon in Google Chrome (misbehaving) - fix sorting 2015-05-13 21:17:02 +02:00
o9000
a9330b424b launcher: New option launcher_icon_theme_override to preserve legacy behavior 2015-05-03 10:05:36 +02:00
o9000
298f60f1b0 tint2conf: Fix taskbar_sort_order, taskbar_name_padding 2015-04-26 13:49:41 +02:00
o9000
2ecb1c4ef4 config: Do not treat invalid task status values as defaults 2015-04-25 16:37:23 +02:00
o9000
b4f15db397 Use font shadows for all elements except tooltips
git-svn-id: http://tint2.googlecode.com/svn/trunk@766 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 13:22:07 +00:00
o9000
64c1fc03f9 Print error message for invalid action name in get_action()
git-svn-id: http://tint2.googlecode.com/svn/trunk@761 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:32:03 +00:00
o9000
af003d0e19 Memory management review: match char-malloc/strdup-free, gchar-g_str*/g_free; set pointers to null after free; initialize fonts/backgrounds correctly when missing from config
git-svn-id: http://tint2.googlecode.com/svn/trunk@748 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-11 09:51:10 +00:00
o9000
e539c6536f Sort tasks on taskbar: config + sort by title or center (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@743 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 22:38:57 +00:00
o9000
5faf063f96 Add config option startup_notifications = 0/1
git-svn-id: http://tint2.googlecode.com/svn/trunk@737 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-21 13:39:43 +00:00
o9000
c900bc24b2 Add option to hide tasks from different monitors when panel_monitor = x (issue 196)
git-svn-id: http://tint2.googlecode.com/svn/trunk@736 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-21 09:49:10 +00:00
o9000
83b6d1ac72 Changed launcher_icon_theme option to work as an override. If not present, we use xsettings to obtain the current theme or default to hicolor if xsettings not present
git-svn-id: http://tint2.googlecode.com/svn/trunk@733 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 21:54:07 +00:00
o9000
f5a18cc4f4 Option taskbar_hide_inactive_tasks (issue 458)
git-svn-id: http://tint2.googlecode.com/svn/trunk@732 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 21:19:02 +00:00
o9000
da7efb27a9 Support for launcher_apps_dir
git-svn-id: http://tint2.googlecode.com/svn/trunk@727 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-01 11:06:48 +00:00
o9000
ba40b0752f Expand ~ in launcher_item_app
git-svn-id: http://tint2.googlecode.com/svn/trunk@726 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-01 10:33:05 +00:00
google@craigoakes.com
bab686d8c4 Corrected memory leak introduced with r690
git-svn-id: http://tint2.googlecode.com/svn/trunk@691 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-08 22:34:42 +00:00
google@craigoakes.com
51fe905b47 Add new configuration parameter panel_window_name to set WM_NAME (and WM_ICON_NAME) to identify multiple instances of tint2. (Issue 460).
git-svn-id: http://tint2.googlecode.com/svn/trunk@690 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-08 12:13:32 +00:00
o9000
89c8338067 Fix issue 428: Build fails when battery applet is disabled from cmake
git-svn-id: http://tint2.googlecode.com/svn/trunk@684 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-04 22:31:44 +00:00
o9000
f0e2e72efc Fix issue 347: always initialize backgrounds
git-svn-id: http://tint2.googlecode.com/svn/trunk@681 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-01 23:09:33 +00:00
o9000
856385d5c0 Reverting commit from r677
git-svn-id: http://tint2.googlecode.com/svn/trunk@679 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-01 12:31:15 +00:00
google@craigoakes.com
5a789c2d7f Revert panel to _NET_WM_WINDOW_TYPE_DOCK, implement panel_layer=float (Issue 461).
git-svn-id: http://tint2.googlecode.com/svn/trunk@677 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-31 05:17:54 +00:00
google@craigoakes.com
0fa10d83b9 Added mouse_left configuration, defaults to original function (Issue 459, 397)
git-svn-id: http://tint2.googlecode.com/svn/trunk@676 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 21:13:04 +00:00
o9000
28d726626d Xorg: Add option to disable transparency (workaround for broken graphics stacks; issues 432, 435, 439)
git-svn-id: http://tint2.googlecode.com/svn/trunk@675 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 10:01:39 +00:00
o9000
4e76c2bb5d Taskbar: add option to redistribute size in multi-desktop mode (useful especially when the taskbar is getting full on one desktop)
git-svn-id: http://tint2.googlecode.com/svn/trunk@673 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 09:53:16 +00:00
o9000
d584d04691 Remove global variables from header files
git-svn-id: http://tint2.googlecode.com/svn/trunk@671 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-28 15:13:56 +00:00
o9000
ec80e09b0b Systray: option to configure monitor: start from 1 to be consistent with panel_monitor
git-svn-id: http://tint2.googlecode.com/svn/trunk@668 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-23 19:19:23 +00:00
o9000
de539e218a Systray: option to configure monitor (fixes issue 451 and TODOs in the code)
git-svn-id: http://tint2.googlecode.com/svn/trunk@667 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-23 18:40:31 +00:00
google@craigoakes.com
88c133a9a7 Launcher tooltips configurable, default off (Issue 366).
git-svn-id: http://tint2.googlecode.com/svn/trunk@642 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-10-12 00:10:46 +00:00
google@craigoakes.com
6542370297 Added alpha, saturation, brightness control for launcher icons (Issue 365).
git-svn-id: http://tint2.googlecode.com/svn/trunk@641 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-10-11 23:50:18 +00:00
thilor77
72435c0743 start tint2conf work
git-svn-id: http://tint2.googlecode.com/svn/trunk@632 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-06-06 09:16:51 +00:00