use PageUp/Down for changing workspaces

This commit is contained in:
lelgenio 2020-12-11 14:17:03 -03:00
parent b0ab785ccd
commit 1fe93c4f69
1 changed files with 3 additions and 2 deletions

View File

@ -39,9 +39,10 @@ $mod+Control+$right resize grow width 20px
# go/move to Workspaces
# button8,9 = Mouse next/prev button
# Prior,Next = PageUp/Down
{%@@ for targ, buttons in {
"prev_on_output": [ key.tabL, "bracketleft", "button9", ],
"next_on_output": [ key.tabR, "bracketright", "button8", ],
"prev_on_output": [ key.tabL, "bracketleft", "Prior", "button9", ],
"next_on_output": [ key.tabR, "bracketright", "Next", "button8", ],
}.items() @@%}
{%@@ for button in buttons @@%}
{%@@ set pref = ("--whole-window " if "button" in button) @@%}