diff options
Diffstat (limited to 'examples/plugins')
37 files changed, 0 insertions, 37 deletions
diff --git a/examples/plugins/alsa b/examples/plugins/alsa index 53fb4b6..2218dee 100644 --- a/examples/plugins/alsa +++ b/examples/plugins/alsa @@ -49,4 +49,3 @@ def redraw(): # See examples/moderate for volume control support. - diff --git a/examples/plugins/chase b/examples/plugins/chase index c975d69..1b99877 100644 --- a/examples/plugins/chase +++ b/examples/plugins/chase @@ -50,4 +50,3 @@ def redraw(): chase = '\033[31mSadly Chase does not appear to have a job yet\033[m' bar.clear() bar.draw_coloured_text(0, 10, 0, 2, chase) - diff --git a/examples/plugins/clock b/examples/plugins/clock index 1739484..a608cdd 100644 --- a/examples/plugins/clock +++ b/examples/plugins/clock @@ -41,4 +41,3 @@ def redraw(): text = '%s (%f)' % (clock.read(), Clock.posix_time()) bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/cpu b/examples/plugins/cpu index 5daf290..3a8200e 100644 --- a/examples/plugins/cpu +++ b/examples/plugins/cpu @@ -87,4 +87,3 @@ def redraw(): s('Softirq', cpu_.softirq_total), s('Softirq', cpu_.softirq)) bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/cpuinfo b/examples/plugins/cpuinfo index 1cad050..12311e8 100644 --- a/examples/plugins/cpuinfo +++ b/examples/plugins/cpuinfo @@ -58,4 +58,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/cpuonline b/examples/plugins/cpuonline index 32e2302..472762e 100644 --- a/examples/plugins/cpuonline +++ b/examples/plugins/cpuonline @@ -35,4 +35,3 @@ def redraw(): text %= s(cpu.online), s(cpu.offline), s(cpu.present), s(cpu.possible) bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/dentrystate b/examples/plugins/dentrystate index 70f7562..d346a7e 100644 --- a/examples/plugins/dentrystate +++ b/examples/plugins/dentrystate @@ -49,4 +49,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/df b/examples/plugins/df index be2fdf7..6e50bed 100644 --- a/examples/plugins/df +++ b/examples/plugins/df @@ -77,4 +77,3 @@ def redraw(): bar.partial_clear(0, bar.width, 10, 0, 2, text) bar.draw_coloured_text(0, 10, 0, 2, text) # TODO this is very flickery - diff --git a/examples/plugins/discstats b/examples/plugins/discstats index 8570a93..6729009 100644 --- a/examples/plugins/discstats +++ b/examples/plugins/discstats @@ -55,4 +55,3 @@ def redraw(): text = '\n'.join(texts) bar.partial_clear(0, bar.width, 10, 0, 2, text) bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/files b/examples/plugins/files index cf80e24..05abb35 100644 --- a/examples/plugins/files +++ b/examples/plugins/files @@ -48,4 +48,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/image b/examples/plugins/image index 4c9808a..f110830 100644 --- a/examples/plugins/image +++ b/examples/plugins/image @@ -39,4 +39,3 @@ def redraw(): bar.clear() image_.draw(bar, 0, 0) image_.draw(bar, bar.width - image_.width, 0) - diff --git a/examples/plugins/inodestate b/examples/plugins/inodestate index e9aa172..48f81d7 100644 --- a/examples/plugins/inodestate +++ b/examples/plugins/inodestate @@ -48,4 +48,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/inotify b/examples/plugins/inotify index 9dd8abb..99500f9 100644 --- a/examples/plugins/inotify +++ b/examples/plugins/inotify @@ -60,4 +60,3 @@ Inotify(inotify, featherweight_status_file, events = ['close_write']) def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, news) - diff --git a/examples/plugins/ipaddress b/examples/plugins/ipaddress index ff3556d..5451085 100644 --- a/examples/plugins/ipaddress +++ b/examples/plugins/ipaddress @@ -43,4 +43,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/kmsg b/examples/plugins/kmsg index 476cb6d..6868ea8 100644 --- a/examples/plugins/kmsg +++ b/examples/plugins/kmsg @@ -44,4 +44,3 @@ def start(): def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/leapsec b/examples/plugins/leapsec index ff86f62..84bb8a2 100644 --- a/examples/plugins/leapsec +++ b/examples/plugins/leapsec @@ -82,4 +82,3 @@ def redraw(): text += ' (out of band)' bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/loadavg b/examples/plugins/loadavg index 18bac34..e032b43 100644 --- a/examples/plugins/loadavg +++ b/examples/plugins/loadavg @@ -67,4 +67,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/locks b/examples/plugins/locks index d9caa6b..49b522f 100644 --- a/examples/plugins/locks +++ b/examples/plugins/locks @@ -97,4 +97,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) semaphore.release() - diff --git a/examples/plugins/lunar b/examples/plugins/lunar index aa1dd8b..835a03f 100644 --- a/examples/plugins/lunar +++ b/examples/plugins/lunar @@ -62,4 +62,3 @@ def redraw(): text %= (colour, illumination, terminator, fraction, phase) bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/mem b/examples/plugins/mem index 0b84068..fcf619c 100644 --- a/examples/plugins/mem +++ b/examples/plugins/mem @@ -67,4 +67,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/moc b/examples/plugins/moc index 11dc227..b77ba4d 100644 --- a/examples/plugins/moc +++ b/examples/plugins/moc @@ -53,4 +53,3 @@ def redraw(): # See examples/moderate for interation support. - diff --git a/examples/plugins/network b/examples/plugins/network index 2288923..47462a8 100644 --- a/examples/plugins/network +++ b/examples/plugins/network @@ -126,4 +126,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/pacman b/examples/plugins/pacman index de25f8f..50c3994 100644 --- a/examples/plugins/pacman +++ b/examples/plugins/pacman @@ -76,4 +76,3 @@ def redraw(): text = '%s\n%s' % (get(True), get(False)) bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/ping b/examples/plugins/ping index 3537e7f..96b4ee3 100644 --- a/examples/plugins/ping +++ b/examples/plugins/ping @@ -67,4 +67,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/random b/examples/plugins/random index 638e00b..6b743ea 100644 --- a/examples/plugins/random +++ b/examples/plugins/random @@ -50,4 +50,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/ropty b/examples/plugins/ropty index dd20077..16ed3e3 100644 --- a/examples/plugins/ropty +++ b/examples/plugins/ropty @@ -43,4 +43,3 @@ def start(): def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/snmp b/examples/plugins/snmp index 2bda45a..19b1a16 100644 --- a/examples/plugins/snmp +++ b/examples/plugins/snmp @@ -54,4 +54,3 @@ def unhandled_event(e): elif e.detail == SCROLL_DOWN: index = max(index - 1, 0) bar.invalidate() - diff --git a/examples/plugins/snmp6 b/examples/plugins/snmp6 index 29a359d..cfc5e52 100644 --- a/examples/plugins/snmp6 +++ b/examples/plugins/snmp6 @@ -54,4 +54,3 @@ def unhandled_event(e): elif e.detail == SCROLL_DOWN: index = max(index - 1, 0) bar.invalidate() - diff --git a/examples/plugins/softirqs b/examples/plugins/softirqs index 8ca4613..021a8df 100644 --- a/examples/plugins/softirqs +++ b/examples/plugins/softirqs @@ -73,4 +73,3 @@ def unhandled_event(e): label = keys[index] xlabel = make_label(label) bar.invalidate() - diff --git a/examples/plugins/swaps b/examples/plugins/swaps index 28c19da..cf67bf2 100644 --- a/examples/plugins/swaps +++ b/examples/plugins/swaps @@ -49,4 +49,3 @@ def redraw(): text = '\n'.join(' │ '.join('%s: %s' % (h, v) for (h, v) in title_and_extend(swap)) for swap in swaps_.swaps) bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/tzclock b/examples/plugins/tzclock index 613344c..15586b5 100644 --- a/examples/plugins/tzclock +++ b/examples/plugins/tzclock @@ -47,4 +47,3 @@ def redraw(): text = ' │ '.join([tz.from_posix_time(time) for tz in timezones]) bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/uname b/examples/plugins/uname index ac79f82..1575c06 100644 --- a/examples/plugins/uname +++ b/examples/plugins/uname @@ -56,4 +56,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/uptime b/examples/plugins/uptime index 29a8736..7f294dc 100644 --- a/examples/plugins/uptime +++ b/examples/plugins/uptime @@ -49,4 +49,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/users b/examples/plugins/users index 570cc4e..f1f7be0 100644 --- a/examples/plugins/users +++ b/examples/plugins/users @@ -50,4 +50,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/vmstat b/examples/plugins/vmstat index 6d69cf9..10c95e3 100644 --- a/examples/plugins/vmstat +++ b/examples/plugins/vmstat @@ -54,4 +54,3 @@ def unhandled_event(e): elif e.detail == SCROLL_DOWN: index = max(index - 1, 0) bar.invalidate() - diff --git a/examples/plugins/xdisplay b/examples/plugins/xdisplay index 30c47c5..dcf4dec 100644 --- a/examples/plugins/xdisplay +++ b/examples/plugins/xdisplay @@ -52,4 +52,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - diff --git a/examples/plugins/xkb b/examples/plugins/xkb index 9f1001d..bfced3e 100644 --- a/examples/plugins/xkb +++ b/examples/plugins/xkb @@ -45,4 +45,3 @@ def redraw(): bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) - |
