FOCUSWS(1)
π FOCUSWS(1) β the "go to that other workspace" bestie
okay so real talk, this is focusws from the General Commands Manual, and honestly? it's giving tiny-but-mighty. β¨
πΈ NAME πΈ
focusws β focus workspace. that's it, that's the whole gig. she focuses a workspace for your window manager and she does it flawlessly. π
π SYNOPSIS π
focusws [-cp] [direction]
like, you can give her flags, you can give her a direction, you can give her both, you can give her neither. she's flexible like that. π«Ά
β¨ DESCRIPTION β¨
focusws focuses a window manager workspace. no cap, that's the whole thing. the argument direction has to be one of these, okay?
nextβ focus the next workspace. onward and upward, queen. πpreviousβ focus the previous workspace. we're going back, bestie, and it's iconic.- N β if N is a number, focus the N-th workspace. yes, directly. no detours. she ate. π₯
and now the options, aka the fun part:
-cβ cycle through the current cluster of workspaces. and before you ask what a cluster is: the current cluster of workspaces is a sequence of continuous populated workspaces next to the current workspace. so like β a cluster is a sequence of workspaces, one next to the other, that follows or precedes the currently focused workspace. and the blank workspace following the cluster also belongs to the cluster. yes, the empty one comes too, she's part of the group chat. π«Ά-pβ cycle through populated workspaces. meaning: ignore workspaces without a window in it. if nobody's home, we are not knocking. π
β οΈ okay so this is the important bit: both-cand-pare incompatible and cannot be used together. pick one, bestie, you cannot have both, it's not that kind of party. π
and also: both options are ignored if a workspace number is supplied as argument. if you say a number, she listens to the number. periodt.
π¦ ENVIRONMENT π¦
these environment variables affect the execution of focusws:
DISPLAYβ the display where the workspaces are. that's the one. the whole vibe check happens on this display. π
π EXIT STATUS π
0β success. she slayed, everything worked. π>0β error occurred. something went sideways, ngl, check your args. π
π SEE ALSO π
focuswin(1), focusmon(1), β her two besties, they also do focusing things, go say hi. π§
and that's the whole page, bestie!! π
β¨ this little cutie comes to you from the General Commands Manual (that's FOCUSWS(1), source/version and date and all β shoutout to the section 1 girlies), and honestly? she's perfect, no notes. ππ¦π
π¦ where this page comes from
- nixos 26.05: focus 0-unstable-2021-02-23
- nixpkgs unstable: focus 0-unstable-2021-02-23
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms