diff --git a/AUTHORS b/AUTHORS index 30830d3..cc7da4b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -26,6 +26,7 @@ Contributors: Christophe D. : non-rectangular borders Benoit Averty : taskbar enhancements Justin Jacobs : tint2conf fixes + Oskari Rauta : separator plugin Translations: Bosnian: diff --git a/ChangeLog b/ChangeLog index 72a07a9..b42db49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,10 @@ -2016-09-18 master +2016-10-02 master - Fixes: - tint2conf: executor tooltips are now correctly disabled when text config value is empty (contributed by Justin Jacobs) - Enhancements: - Desktop files (shortcuts) used in launcher are reloaded on click, in case the file has changed - New config option taskbar_hide_if_empty to hide an empty taskbar in multi_desktop mode (contributed by Benoit Averty) +- New plugin: separator (contributed by Oskari Rauta) 2016-08-02 0.12.12 - Fixes: diff --git a/doc/manual.html b/doc/manual.html index 9f2b1e1..c34797c 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -228,6 +228,7 @@ It was specifically made for Openbox but it should also work with other window m
  • Tooltip

  • Battery

  • Executor

  • +
  • Separator

  • Example configuration

  • Introduction

    These are instructions for configuring tint2 directly by editing its config file. @@ -297,6 +298,7 @@ clock_background_id = 0

  • C shows the Clock
  • F adds an extensible spacer (freespace). Has no effect if T is also present. (since 0.12)
  • E adds an executor plugin. You can specify more than one. (since 0.12.4)
  • +
  • : adds a separator. You can specify more than one. (since 0.13.0)
  • For example, panel_items = STC will show the systray, the taskbar and the clock (from left to right).

  • panel_monitor = monitor (all or 1 or 2 or ...) : Which monitor tint2 draws the panel on

    @@ -585,6 +587,15 @@ execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | awk -F ';' '/total/ { printf execp_continuous = 1 execp_interval = 1 +

    Separator

    +

    Example configuration

    #---------------------------------------------
     ## TINT2 CONFIG FILE
     #---------------------------------------------
    diff --git a/doc/readme.html b/doc/readme.html
    index 3cfb8fa..c3aeeea 100644
    --- a/doc/readme.html
    +++ b/doc/readme.html
    @@ -199,7 +199,7 @@ pre {
     
     
     
    -

    Latest stable release: 0.12.12

    Changes: https://gitlab.com/o9000/tint2/blob/0.12.12/ChangeLog

    Documentation: manual.html

    Compile it with (see also dependencies):

    git clone https://gitlab.com/o9000/tint2.git
    +

    Latest stable release: 0.12.12

    Changes: https://gitlab.com/o9000/tint2/blob/0.12.12/ChangeLog

    Documentation: manual.html

    Compile it with (after you install the dependencies):

    git clone https://gitlab.com/o9000/tint2.git
     cd tint2
     git checkout 0.12.12
     mkdir build
    @@ -235,6 +235,12 @@ make -j4
     
  • Other frequently asked questions
  • Obtain a stack trace when tint2 crashes
  • +

    Known issues

    +
      +
    • Graphic glitches on Intel graphics cards can be avoided by changing the acceleration method to UXA (issue 595)
    • +
    • Window managers that do not follow exactly the EWMH specification might not interact well with tint2 (known issues for awesome, bspwm. openbox-multihead)
    • +
    • Full transparency requires a compositor such as Compton (if not provided already by the window manager, as in Compiz/Unity, KDE or XFCE)
    • +

    How can I help out?

    • Report bugs and ask questions on the issue tracker;
    • diff --git a/doc/tint2.1 b/doc/tint2.1 index da5c994..4d2fa76 100644 --- a/doc/tint2.1 +++ b/doc/tint2.1 @@ -65,6 +65,8 @@ Battery \[la]#battery\[ra] .IP \(bu 2 Executor \[la]#executor\[ra] .IP \(bu 2 +Separator \[la]#separator\[ra] +.IP \(bu 2 Example configuration \[la]#example-configuration\[ra] .RE .SS Introduction @@ -190,6 +192,8 @@ Identifier 0 refers to a special background which is fully transparent, identifi \fB\fCF\fR adds an extensible spacer (freespace). Has no effect if \fB\fCT\fR is also present. \fI(since 0.12)\fP .IP \(bu 2 \fB\fCE\fR adds an executor plugin. You can specify more than one. \fI(since 0.12.4)\fP +.IP \(bu 2 +\fB\fC:\fR adds a separator. You can specify more than one. \fI(since 0.13.0)\fP .RE .PP For example, \fB\fCpanel_items = STC\fR will show the systray, the taskbar and the clock (from left to right). @@ -691,6 +695,21 @@ execp_continuous = 1 execp_interval = 1 .fi .RE +.SS Separator +.RS +.IP \(bu 2 +\fB\fCseparator = new\fR : Begins the configuration of a new separator. Multiple such plugins are supported; just use multiple \fB\fC:\fRs in \fB\fCpanel_items\fR\&. \fI(since 0.13.0)\fP +.IP \(bu 2 +\fB\fCseparator_background_id = integer\fR : Which background to use. \fI(since 0.13.0)\fP +.IP \(bu 2 +\fB\fCseparator_color = color opacity\fR : The foreground color. \fI(since 0.13.0)\fP +.IP \(bu 2 +\fB\fCseparator_style = [empty | line | dots]\fR : The separator style. \fI(since 0.13.0)\fP +.IP \(bu 2 +\fB\fCseparator_size = integer\fR : The thickness of the separator. Does not include the border and padding. For example, if the style is \fB\fCline\fR, this is the line thickness; if the style is \fB\fCdots\fR, this is the dot's diameter. \fI(since 0.13.0)\fP +.IP \(bu 2 +\fB\fCseparator_padding = side_padding cap_padding\fR : The padding to add to the sides of the separator, in pixels. \fI(since 0.13.0)\fP +.RE .SS Example configuration .PP .RS diff --git a/doc/tint2.md b/doc/tint2.md index 04d8556..c3b0574 100644 --- a/doc/tint2.md +++ b/doc/tint2.md @@ -56,6 +56,8 @@ Goals: * [Executor](#executor) + * [Separator](#separator) + * [Example configuration](#example-configuration) ### Introduction @@ -144,6 +146,7 @@ Identifier 0 refers to a special background which is fully transparent, identifi * `C` shows the Clock * `F` adds an extensible spacer (freespace). Has no effect if `T` is also present. *(since 0.12)* * `E` adds an executor plugin. You can specify more than one. *(since 0.12.4)* + * `:` adds a separator. You can specify more than one. *(since 0.13.0)* For example, `panel_items = STC` will show the systray, the taskbar and the clock (from left to right). @@ -566,6 +569,20 @@ execp_continuous = 1 execp_interval = 1 ``` +### Separator + + * `separator = new` : Begins the configuration of a new separator. Multiple such plugins are supported; just use multiple `:`s in `panel_items`. *(since 0.13.0)* + + * `separator_background_id = integer` : Which background to use. *(since 0.13.0)* + + * `separator_color = color opacity` : The foreground color. *(since 0.13.0)* + + * `separator_style = [empty | line | dots]` : The separator style. *(since 0.13.0)* + + * `separator_size = integer` : The thickness of the separator. Does not include the border and padding. For example, if the style is `line`, this is the line thickness; if the style is `dots`, this is the dot's diameter. *(since 0.13.0)* + + * `separator_padding = side_padding cap_padding` : The padding to add to the sides of the separator, in pixels. *(since 0.13.0)* + ### Example configuration ```