summaryrefslogtreecommitdiffstats
path: root/modules/current-title.py
diff options
context:
space:
mode:
authorVasiliy Horbachenko <shadowprince47@gmail.com>2014-05-22 17:03:09 +0300
committerVasiliy Horbachenko <shadowprince47@gmail.com>2014-05-22 17:03:09 +0300
commitab38f5686d6c0c2fa658743e4e0d18ae0f7af76e (patch)
tree19eaffdd12e72b819c46a9fccd0527efce5cd7d6 /modules/current-title.py
parent73f27f48731f213396bc1e206a26f176986c8fdc (diff)
added battery level, current keyboard layout
Diffstat (limited to 'modules/current-title.py')
-rw-r--r--modules/current-title.py12
1 files changed, 6 insertions, 6 deletions
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: