Skip to content
Discussion options

You must be logged in to vote
workspacerule = r[1-9], mon: <monitor A>
workspacerule = r[11-19], mon: <monitor B>
bind = <mod>,1,workspace, 1
bind = <mod>,1,workspace, 11
bind = <mod>,2,workspace, 2
bind = <mod>,2,workspace, 12

etc...
or if you want something completely silly:

$active = $(hyprctl activeworkspace -j | jq .monitorID)
$refocus = hyprctl dispatch focusmonitor $cur
$loop = for id in $(hyprctl monitors -j | jq -r '.[].id'); do hyprctl dispatch focusmonitor $id; hyprctl dispatch workspace r~$ws; done
bind = super alt, 1, exec, ws=1; cur=$active; $loop; $refocus
bind = super alt, 2, exec, ws=2; cur=$active; $loop; $refocus
bind = super alt, 3, exec, ws=3; cur=$active; $loop; $refocus

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@markg85
Comment options

@ItsOhen
Comment options

Answer selected by markg85
@markg85
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants