diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-06 23:21:18 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-06 23:21:18 +0100 |
commit | 63ee4ef39bfa9bb83ad3ee5a4877770dba7d82f7 (patch) | |
tree | 80b9ef21cbe6a109727f8d026e19f93ee096ae50 /examples | |
parent | add XKB.get_locks_str (diff) | |
download | xpybar-63ee4ef39bfa9bb83ad3ee5a4877770dba7d82f7.tar.gz xpybar-63ee4ef39bfa9bb83ad3ee5a4877770dba7d82f7.tar.bz2 xpybar-63ee4ef39bfa9bb83ad3ee5a4877770dba7d82f7.tar.xz |
add XDisplay.vt
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/plugin-test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/plugin-test b/examples/plugin-test index 486212d..a012542 100644 --- a/examples/plugin-test +++ b/examples/plugin-test @@ -151,7 +151,8 @@ def redraw(): discstats = ['%s:%s' % (d[2:], colourise(i)) for d, i in discstats] discstats = 'Disc stats: %s' % (' '.join(discstats)) - xdisplay = ':%i' % XDisplay().display + xdisplay_ = XDisplay() + xdisplay = ':%i tty%i' % (xdisplay_.display, xdisplay_.vt) moc_ = MOC().state moc = {None : 'dead', MOC.STOPPED : 'stopped', MOC.PAUSED : 'paused', MOC.PLAYING : 'playing'} |