aboutsummaryrefslogtreecommitdiffstats
path: root/examples/plugins/image
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-04 03:07:07 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-04 03:07:07 +0200
commitc3aaeb1ad0bdab785d5bfdcdf3559663ca90571d (patch)
tree2ac4365e018e8ffa72e4d3dde017f705fd32917e /examples/plugins/image
parentadd image support (diff)
downloadxpybar-c3aaeb1ad0bdab785d5bfdcdf3559663ca90571d.tar.gz
xpybar-c3aaeb1ad0bdab785d5bfdcdf3559663ca90571d.tar.bz2
xpybar-c3aaeb1ad0bdab785d5bfdcdf3559663ca90571d.tar.xz
implement icon search
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples/plugins/image')
-rw-r--r--examples/plugins/image8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/plugins/image b/examples/plugins/image
index e81d324..35a8011 100644
--- a/examples/plugins/image
+++ b/examples/plugins/image
@@ -28,9 +28,11 @@ from plugins.image import Image
OUTPUT, HEIGHT, YPOS, TOP = 0, 24, 24, True
-#image_ = Image('/usr/share/icons/hicolor/scalable/apps/mate-panel-clock.svg', 'rgb(0, 0, 0)', 24)
-#image_ = Image('/usr/share/icons/oxygen/256x256/apps/clock.png', 'rgb(0, 0, 0)', 24)
-image_ = Image('/usr/share/icons/ContrastHigh/48x48/apps/clock.png', 'rgb(0, 0, 0)', 24)
+#image_ = Image('/usr/share/icons/hicolor/scalable/apps/mate-panel-clock.svg', 'rgb(0, 0, 0)', 24, icon = False)
+#image_ = Image('/usr/share/icons/oxygen/256x256/apps/clock.png', 'rgb(0, 0, 0)', 24, icon = False)
+#image_ = Image('/usr/share/icons/ContrastHigh/48x48/apps/clock.png', 'rgb(0, 0, 0)', 24, icon = False)
+#image_ = Image('mate-panel-clock', 'rgb(0, 0, 0)', 24, icon = True)
+image_ = Image('clock', 'rgb(0, 0, 0)', 24, icon = True)
def redraw():