Skip to content

Instantly share code, notes, and snippets.

@tych0
Last active December 15, 2015 13:29
Show Gist options
  • Save tych0/5267461 to your computer and use it in GitHub Desktop.
Save tych0/5267461 to your computer and use it in GitHub Desktop.
# put a Prompt widget in your bar
def my_func(prompt_result):
pass
def start_prompt(qtile):
p = qtile.widgetMap["prompt"]
p.startInput("hax> ", my_func)
Key(["mod4"], "r", lazy.function(start_prompt))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment