Forrest logo
back to the bspc tool

bspc:tldr:2c6c4

bspc: Focus the given desktop.
$ bspc desktop --focus ${number}
try on your machine

The command "bspc desktop --focus ${number}" is used in the BSPWM window manager to change the focus to a specific desktop.

Here's a breakdown of the command:

  • "bspc" refers to the Binary Space Partitioning Control, which is the command-line utility for managing BSPWM window manager.
  • "desktop" is the keyword used to indicate we want to operate on a desktop.
  • "--focus" is an option that tells BSPWM to set the focus on the specified desktop.
  • "${number}" is a placeholder for the specific number of the desktop you want to focus on.

In summary, this command allows you to switch the focus to a particular desktop within BSPWM using its corresponding number.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the bspc tool