2009-12-16
- Scrolling through tasks by schattenprinz (added action next_task and prev_task)
-- Andreas : *add* setting tooltip on clock
+- Andreas : *add* setting tooltip on clock with 'clock_tooltip = format'
- Andreas : *add* changed everything to kernel timer for easier integration with new timer
- Andreas : *add* multiple tasks can be urgent now
- Thierry : panel snapshot
taskbar_mode = single_desktop
taskbar_padding = 0 5 2
taskbar_background_id = 0
+#taskbar_active_background_id = 0
#---------------------------------------------
# TASK
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
+systray = 1
systray_padding = 7 8 5
systray_background_id = 1
systray_sort = left2right
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
+systray = 1
systray_padding = 8 4 5
systray_background_id = 1
systray_sort = left2right
clock_background_id = 1
#clock_lclick_command = xclock
clock_rclick_command = orage
+#clock_tooltip = %A %d %B
#---------------------------------------------
# TOOLTIP
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
+systray = 1
systray_padding = 8 6 5
systray_background_id = 0
systray_sort = left2right
clock_background_id = 0
#clock_lclick_command = xclock
clock_rclick_command = orage
+#clock_tooltip = %A %d %B
#---------------------------------------------
# TOOLTIP
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
-tooltip_background_id = 4
+tooltip_background_id = 1
tooltip_font_color = #OOOOOO 80
tooltip_font = sans 10
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
+systray = 1
systray_padding = 6 5 5
systray_background_id =2
+systray_sort = left2right
+#---------------------------------------------
+# BATTERY
+#---------------------------------------------
+battery = 0
+battery_low_status = 7
+battery_low_cmd = notify-send "battery low"
+bat1_font = sans 8
+bat2_font = sans 6
+battery_font_color = #ffffff 76
+battery_padding = 1 0
+battery_background_id = 2
+
+#---------------------------------------------
+# TOOLTIP
+#---------------------------------------------
+tooltip = 1
+tooltip_padding = 2 2
+tooltip_show_timeout = 0.7
+tooltip_hide_timeout = 0.3
+tooltip_background_id = 3
+tooltip_font_color = #OOOOOO 80
+tooltip_font = sans 10
#---------------------------------------------
# MOUSE ACTION ON TASK
taskbar_mode = single_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 0
+#taskbar_active_background_id = 0
#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
-task_width = 140
+task_maximum_size = 140 35
task_centered = 1
task_padding = 6 3
task_font = sans 7
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
+systray = 1
systray_padding = 0 4 5
systray_background_id = 0
+systray_sort = left2right
#---------------------------------------------
# CLOCK
clock_background_id = 0
#clock_lclick_command = xclock
clock_rclick_command = orage
+#clock_tooltip = %A %d %B
#---------------------------------------------
# BATTERY
battery_padding = 1 0
battery_background_id = 0
+#---------------------------------------------
+# TOOLTIP
+#---------------------------------------------
+tooltip = 0
+tooltip_padding = 2 2
+tooltip_show_timeout = 0.7
+tooltip_hide_timeout = 0.3
+tooltip_background_id = 1
+tooltip_font_color = #OOOOOO 80
+tooltip_font = sans 10
#---------------------------------------------
# MOUSE ACTION ON TASK
taskbar_mode = single_desktop
taskbar_padding = 0 0 2
taskbar_background_id = 3
+#taskbar_active_background_id = 0
#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 0
-task_width = 50
+task_maximum_size = 50 35
task_centered = 1
task_padding = 0 2
task_font = Aller 9
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
+systray = 1
systray_padding = 2 8 0
systray_background_id = 1
+systray_sort = left2right
#---------------------------------------------
# CLOCK
clock_background_id = 1
#clock_lclick_command = xclock
#clock_rclick_command = orage
+#clock_tooltip = %A %d %B
#---------------------------------------------
# BATTERY
battery_padding = 1 0
battery_background_id = 0
+#---------------------------------------------
+# TOOLTIP
+#---------------------------------------------
+tooltip = 0
+tooltip_padding = 2 2
+tooltip_show_timeout = 0.7
+tooltip_hide_timeout = 0.3
+tooltip_background_id = 1
+tooltip_font_color = #OOOOOO 80
+tooltip_font = sans 10
#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
task_icon = 0
task_text = 1
-task_width = 100
+task_maximum_size = 100
task_centered = 1
task_margin = 4
task_padding = 5
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
+systray = 1
systray_padding = 4 2 3
systray_background_id = 0
+systray_sort = left2right
#---------------------------------------------
# CLOCK
#---------------------------------------------
-time1_format = %H:%M / %a %d %b
+time1_format = %H:%M
#time1_font = Museo 8
-time1_font = AvantGardeLTMedium 8
+time1_font = AvantGardeLTMedium 9 bold
#time2_format = %A %d %B
#time2_font = Monospace 6
clock_font_color = #151515 60
clock_padding = 4 0
+clock_tooltip = %A %d %B
#---------------------------------------------
# BATTERY
battery_padding = 1 0
battery_background_id = 0
+#---------------------------------------------
+# TOOLTIP
+#---------------------------------------------
+tooltip = 1
+tooltip_padding = 2 2
+tooltip_show_timeout = 0.7
+tooltip_hide_timeout = 0.3
+tooltip_background_id = 1
+tooltip_font_color = #OOOOOO 80
+tooltip_font = sans 10
+
#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
}
else if (!g_tooltip.mapped) {
start_show_timeout();
- //printf("!g_tooltip.mapped %d %d\n", x, y);
}
}
typedef struct {
- // absolute coordinate in panel
+ // coordinate relative to panel window
int posx, posy;
// width and height including border
int width, height;