From 30429b88b3e24def1f495aaaacc066c420189c3c Mon Sep 17 00:00:00 2001 From: o9000 Date: Tue, 20 Jun 2017 12:34:22 +0200 Subject: [PATCH] Merge battery format from https://gitlab.com/berkley4/tint2 (issue #229) --- AUTHORS | 1 + doc/manual.html | 10 +++ doc/tint2.1 | 18 +++++ doc/tint2.md | 9 +++ src/battery/battery.c | 119 +++++++++++++++++++++++++++++----- src/battery/battery.h | 2 + src/config.c | 15 +++++ src/tint2conf/properties.c | 42 +++++++++++- src/tint2conf/properties.h | 2 +- src/tint2conf/properties_rw.c | 6 ++ 10 files changed, 207 insertions(+), 17 deletions(-) diff --git a/AUTHORS b/AUTHORS index 58a453b..df9c8cd 100644 --- a/AUTHORS +++ b/AUTHORS @@ -29,6 +29,7 @@ Contributors: Oskari Rauta : separator plugin, gradients Michael Messmore : Support for Path in .desktop files Matthew Otnel : config option systray_name_filter + Ryan Gray, Jeff Blake (https://gitlab.com/berkley4) : battery format Translations: Bosnian: diff --git a/doc/manual.html b/doc/manual.html index 72a66c4..deedfcd 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -456,6 +456,7 @@ panel_size = 94% 30
  • taskbar_active_background_id = integer : Which background to use for the taskbar of the current virtual desktop.

  • taskbar_hide_inactive_tasks = boolean (0 or 1) : If enabled, the taskbar shows only the active task. (since 0.12)

  • taskbar_hide_different_monitor = boolean (0 or 1) : If enabled, the taskbar shows only the tasks from the current monitor. Useful when running different tint2 instances on different monitors, each one having its own config. (since 0.12)

  • +
  • taskbar_hide_different_desktop = boolean (0 or 1) : If enabled, the taskbar shows only the tasks from the current desktop. Useful to make multi-desktop taskbars more compact, but still allow desktop switching with mouse click. (since 0.15)

  • taskbar_always_show_all_desktop_tasks = boolean (0 or 1) : Has effect only if taskbar_mode = multi_desktop. If enabled, tasks that appear on all desktops are shown on all taskbars. Otherwise, they are shown only on the taskbar of the current desktop. (since 0.12.4)

  • taskbar_sort_order = none/title/center : Specifies the sort order of the tasks on the taskbar. (since 0.12)