Is there a way to get what the workspace r~N gets resolved to using hyprctl/sockets? #11539
Unanswered
code-IM-perfect
asked this question in
Q&A
Replies: 1 comment 6 replies
-
|
not really hyprland just counts from 1 up really, if it's not taken or on the monitor, add 1, then when your counter is at desired, thats the workspace |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On the Dispachers wiki page (workspaces section), I came across the workspace selection syntax
r~4that enables me to select the 4th workspace on my current monitor, respecting the numbering of empty workspaces, which enables me to use workspaces exactly like I wanted (like they were implemented in AwesomeWM).I want to make a workspaces widget in Quickshell but their API seems to give me a list of workspaces exactly like
hyprctl workspacesgives me, and the numbering seems completely random to me, I cannot figure out any pattern in the IDs that would indicate exactly which workspace number in ther~sense it belongs to.So either there is some rule that hyprland uses to determine the id that goes to X monitor's Yth workspace or there is some info that hyprctl does not expose.
Is there a way to get this info via hyprctl somehow or maybe the exposed sockets?
Beta Was this translation helpful? Give feedback.
All reactions