qtile: add keybind to emoji launcher

This commit is contained in:
Guilherme Rugai Freire 2021-08-14 12:25:22 -03:00
parent 5bc29db88f
commit d70cb2f75e
No known key found for this signature in database
GPG Key ID: 0F9FE41723A8A297

View File

@ -30,6 +30,9 @@ POWER_MENU = os.path.expanduser(
WEB_QUICK_OPEN = os.path.expanduser( WEB_QUICK_OPEN = os.path.expanduser(
"~/.scripts/bin/firefox-quick-keywords" "~/.scripts/bin/firefox-quick-keywords"
) )
EMOJI_LAUNCHER = os.path.expanduser(
"~/.scripts/bin/clip-moji"
)
SHOW_KEYBINDS = "python3 /home/grfreire/.config/qtile/list_keybinds.py" SHOW_KEYBINDS = "python3 /home/grfreire/.config/qtile/list_keybinds.py"
MEDIA_CONTROL = os.path.expanduser("~/.config/qtile/media_control.sh") MEDIA_CONTROL = os.path.expanduser("~/.config/qtile/media_control.sh")
@ -85,6 +88,7 @@ keys = [
Key([MOD], "Print", lazy.spawn(SCREENSHOT_UTILITY), desc="Open screenshot utility"), Key([MOD], "Print", lazy.spawn(SCREENSHOT_UTILITY), desc="Open screenshot utility"),
# Clipboard # Clipboard
Key([MOD, "shift"], "c", lazy.spawn(CLIPBOARD_MANAGER), desc="Launch clipboard manager"), Key([MOD, "shift"], "c", lazy.spawn(CLIPBOARD_MANAGER), desc="Launch clipboard manager"),
Key([MOD, "shift"], "e", lazy.spawn(EMOJI_LAUNCHER), desc="Launch emoji launcher"),
# Media # Media
Key([], "XF86AudioPlay", lazy.spawn(f"{MEDIA_CONTROL} play"), desc="Media control - play"), Key([], "XF86AudioPlay", lazy.spawn(f"{MEDIA_CONTROL} play"), desc="Media control - play"),
Key([], "XF86AudioStop", lazy.spawn(f"{MEDIA_CONTROL} stop"), desc="Media control - stop"), Key([], "XF86AudioStop", lazy.spawn(f"{MEDIA_CONTROL} stop"), desc="Media control - stop"),