qtile: add firefox quick launcher

This commit is contained in:
Guilherme Rugai Freire 2021-07-31 02:32:44 -03:00
parent 8404055114
commit eec579b098
No known key found for this signature in database
GPG Key ID: 0F9FE41723A8A297

View File

@ -23,12 +23,16 @@ FILE_MANAGER = "nautilus -w"
POWER_MENU = os.path.expanduser(
"~/.local/bin/simple-power-menu"
) # https://github.com/GRFreire/simple-power-menu
WEB_QUICK_OPEN = os.path.expanduser(
"~/.local/bin/firefox-quick-keywords"
) # https://github.com/GRFreire/firefox-quick-keywords
keys = [
# Launch programs
Key([MOD], "Return", lazy.spawn(TERMINAL), desc="Launch terminal"),
Key([MOD], "r", lazy.spawn(LAUNCHER), desc="Open application launcher"),
Key([MOD], "w", lazy.spawn(WEB), desc="Open web browser"),
Key([MOD], "p", lazy.spawn(WEB_QUICK_OPEN), desc="Open web browser quick launcher"),
Key([MOD], "f", lazy.spawn(FILE_MANAGER), desc="Open file manager"),
# Closes window.
Key([MOD], "q", lazy.window.kill(), desc="Kill focused window"),