summaryrefslogtreecommitdiffstats
path: root/modules/scratchpad-counter.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/scratchpad-counter.py
parent73f27f48731f213396bc1e206a26f176986c8fdc (diff)
added battery level, current keyboard layout
Diffstat (limited to 'modules/scratchpad-counter.py')
-rw-r--r--modules/scratchpad-counter.py12
1 files changed, 10 insertions, 2 deletions
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":