From ab50d418c71d65fcee4da1bf22c18257351f2532 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Wed, 15 Mar 2023 16:17:36 +0100 Subject: [PATCH] I never use scratchpads, let's get rid of them. --- _desktop/qtile/config.py | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/_desktop/qtile/config.py b/_desktop/qtile/config.py index 2a352f2..21742c9 100644 --- a/_desktop/qtile/config.py +++ b/_desktop/qtile/config.py @@ -29,24 +29,6 @@ groups = [ Group("8", label="\uf198", matches=[Match(wm_class=["Slack"])]), Group("9", label="\uf296"), Group("0", label="\uf2bb", matches=[Match(wm_class=["workfx"])]), - ScratchPad("scratchpad", [ - DropDown( - "spterm", "footclient", - on_focus_lost_hide=False, - width=0.40, - height=0.50, - x=0.30, - y=0.25, - ), - DropDown( - "spwork", "sh -c 'terminal_profile=work foot -o url.launch=workfx\ \${url}'", - on_focus_lost_hide=False, - width=0.40, - height=0.50, - x=0.30, - y=0.25, - ), - ]), ] keys = [ @@ -74,15 +56,13 @@ keys = [ Key([mod], "Return", lazy.spawn("footclient")), Key([mod], "space", lazy.spawncmd()), Key([mod], "a", lazy.spawn("authenticator")), - Key([mod], "e", lazy.group["scratchpad"].dropdown_toggle('spterm')), + Key([mod], "e", lazy.spawn("selector-chars")), Key([mod], "i", lazy.spawn("sh -c 'grim -g \"$(slurp)\"'")), Key([mod], "m", lazy.spawn("sh -c 'pgrep -x neomutt > /dev/null || footclient -a mutt -o bold-text-in-bright=yes neomutt'")), - Key([mod, "shift"], "e", lazy.group["scratchpad"].dropdown_toggle('spwork')), Key([mod, "shift"], "i", lazy.spawn("grim")), Key([mod, "shift"], "Return", lazy.spawn("sh -c 'terminal_profile=work foot -o url.launch=workfx\ \${url}'")), Key([mod, "control"], "a", lazy.spawn("selector-audio")), Key([mod, "control"], "b", lazy.spawn("selector-bluetooth")), - Key([mod, "control"], "e", lazy.spawn("selector-chars")), # WM control Key([mod], "f", lazy.window.toggle_floating()), Key([mod], "q", lazy.window.kill()),