From ab38f5686d6c0c2fa658743e4e0d18ae0f7af76e Mon Sep 17 00:00:00 2001 From: Vasiliy Horbachenko Date: Thu, 22 May 2014 17:03:09 +0300 Subject: added battery level, current keyboard layout --- modules/current-title.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/current-title.py') diff --git a/modules/current-title.py b/modules/current-title.py index d8cf383..e2f5aef 100644 --- a/modules/current-title.py +++ b/modules/current-title.py @@ -8,16 +8,16 @@ DEPENDENCIES: Depends on i3-py! pip install i3-py -CONFIG: - MAX_WIDTH - max title width - CACHED_TIME - in seconds - If payload from server contains wierd utf-8 (for example one window have something bad in title) - plugin will give empty output UNTIL this window will be closed. I can't fix or workaround that in PLUGIN, problem is in i3-py library. + +@author shadowprince +@version 1.0 +@license Eclipse Public License """ POSITION = 0 -MAX_WIDTH = 120 -CACHED_TIME = 0.5 +MAX_WIDTH = 120 # if width of title is greater, shrink it and add ... +CACHED_TIME = 0.5 # maximum time to update indicator def find_focused(tree): if type(tree) == list: -- cgit v1.3