Hey everyone,
so, I'm fairly new to qtile and I'm trying to set a mouse callback function
in an image widget and it's not working so far, I've followed pretty much
every tutorial and piece of documentation out there and it's still not
working. Can you guys help me out?
Here is the code for the callback function:
def run_rofi(qtile):
rofi_cmd = 'rofi -combi-modi window,drun,ssh -theme solarized -font
"hack 10" -show drun'
qtile.cmd_spawn(rofi_cmd)
And here is the code for the widget:
widget.Image(
filename='~/Pictures/manjaro_logo.png',
mouse_callback={'Button1': run_rofi},
margin=5,
)
I appreciate any help.
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/7fc77507-e481-44db-8291-c715e4034df2n%40googlegroups.com.