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/scratchpad-counter.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'modules/scratchpad-counter.py') diff --git a/modules/scratchpad-counter.py b/modules/scratchpad-counter.py index f2c7dbc..b1cdd73 100644 --- a/modules/scratchpad-counter.py +++ b/modules/scratchpad-counter.py @@ -3,10 +3,18 @@ import time import random from pprint import pprint +""" +Module showing amount of windows at the scratchpad. + +@author shadowprince +@version 1.0 +@license Eclipse Public License +""" + CACHED_TIME = 1 POSITION = 1 -HIDE_WHEN_NONE = True -STRFORMAT = "{} ⌫" +HIDE_WHEN_NONE = True # hide indicator when there is no windows +STRFORMAT = "{} ⌫" # format of indicator. {} replaces with count of windows def find_scratch(tree): if tree["name"] == "__i3_scratch": -- cgit v1.3