I never use scratchpads, let's get rid of them.

This commit is contained in:
Bartek Stalewski 2023-03-15 16:17:36 +01:00
parent 1af7fd24f4
commit ab50d418c7

View File

@ -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()),