This commit is contained in:
zoe 2022-09-15 19:18:25 +02:00
parent 6202536df7
commit 8b17b0ce7b
2 changed files with 5 additions and 1 deletions

View File

@ -19,6 +19,7 @@ _mediaChord = KeyChord(
Key([], "l", lazy.spawn("playerctl next --player=cmus,%any")),
Key([], "h", lazy.spawn("playerctl previous --player=cmus,%any")),
Key([], "c", lazy.group["scratchpad"].dropdown_toggle("cmus")),
Key([], "p", lazy.group["scratchpad"].dropdown_toggle("pavucontrol")),
],
mode=" media",
)

View File

@ -6,6 +6,9 @@ def get_scratchpads():
return [
ScratchPad(
"scratchpad",
[DropDown("cmus", my_globals.terminal + " cmus", height=1, width=1, x=0)],
[
DropDown("cmus", my_globals.terminal + " cmus", height=1, width=1, x=0),
DropDown("pavucontrol", "pavucontrol", height=1, width=1, x=0),
],
)
]