config/qtile: add quick search hotkeys

This commit is contained in:
Infinidoge 2024-05-08 03:42:21 -04:00
parent 84a49c43e2
commit 1c9012190b
Signed by: Infinidoge
SSH key fingerprint: SHA256:GT2StvPQMMfFHyiiFJymQxfTG/z6EWLJ6NWItf5K5sA

View file

@ -424,6 +424,16 @@ keys = [
lazy.spawn("@firefox@ --private-window"), lazy.spawn("@firefox@ --private-window"),
desc="Start Firefox (New 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( Key(
[Keys.SUPER, Keys.ALT], "e", [Keys.SUPER, Keys.ALT], "e",
lazy.spawn(Apps.EDITOR), lazy.spawn(Apps.EDITOR),