From 1c9012190bc77ebf0b7547e13850d4edb250143f Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 8 May 2024 03:42:21 -0400 Subject: [PATCH] config/qtile: add quick search hotkeys --- users/infinidoge/config/qtile/config.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/users/infinidoge/config/qtile/config.py b/users/infinidoge/config/qtile/config.py index e173fae..3c620f6 100644 --- a/users/infinidoge/config/qtile/config.py +++ b/users/infinidoge/config/qtile/config.py @@ -424,6 +424,16 @@ keys = [ lazy.spawn("@firefox@ --private-window"), desc="Start Firefox (New Private Window)", ), + Key( + [Keys.SUPER, Keys.ALT, Keys.SHIFT], "f", + lazy.spawncmd(prompt="search", command="@firefox@ --search '%s'", complete=None, shell=False), + desc="Search for a term in Firefox", + ), + Key( + [Keys.SUPER, Keys.ALT, Keys.CONTROL, Keys.SHIFT], "f", + lazy.spawncmd(prompt="private search", command="@firefox@ --private-window 'https://google.com/search?q=%s'", complete=None, shell=False), + desc="Search for a term in Firefox", + ), Key( [Keys.SUPER, Keys.ALT], "e", lazy.spawn(Apps.EDITOR),