summaryrefslogtreecommitdiffstats
path: root/examples/xmonad
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-14 22:55:38 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-14 22:55:38 +0100
commit9c809959f01a4f3c7315d886d2ee2ea9ead4fbca (patch)
treea5c4ad25e5483f7cb9e9a8241f00f4b58301152c /examples/xmonad
parentderp (diff)
downloadblueshift-9c809959f01a4f3c7315d886d2ee2ea9ead4fbca.tar.gz
blueshift-9c809959f01a4f3c7315d886d2ee2ea9ead4fbca.tar.bz2
blueshift-9c809959f01a4f3c7315d886d2ee2ea9ead4fbca.tar.xz
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--examples/xmonad2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xmonad b/examples/xmonad
index 212b611..061d241 100644
--- a/examples/xmonad
+++ b/examples/xmonad
@@ -113,7 +113,7 @@ def get_workspaces():
if c in ']>':
if c == ']':
rat = len(visible)
- visible.append(int(buf.split('-')[0]))
+ visible.append(int(buf[:-1].split('-')[0]))
buf = None
elif c in '[<':
buf = ''