Last active
December 15, 2015 13:29
-
-
Save tych0/5267461 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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