Permalink
Browse files

Fixed non-working update_text for dwm; should fix #4

  • Loading branch information...
halhen committed Dec 3, 2011
1 parent ea76921 commit ff3c7f4ec96b18e6505f42b608ee025f6c4b5146
Showing with 1 addition and 1 deletion.
  1. +1 −1 statnot
@@ -55,7 +55,7 @@ QUEUE_NOTIFICATIONS=True
# dwm
def update_text(text):
# Get first line
first_line = text.splitline()[:-1]
first_line = text.splitlines()[0] if text else ''
subprocess.call(["xsetroot", "-name", first_line])
# ===== CONFIGURATION END =====

0 comments on commit ff3c7f4

Please sign in to comment.