FOCUSWS(1)

πŸ“¦ version 0-unstable-2021-02, in nixos 26.05, nixpkgs unstable

πŸ’… 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 -c and -p are 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