Forrest logo
back to the bspc tool

bspc:tldr:24d3e

bspc: Send the selected node to the given desktop.
$ bspc node --to-desktop ${number}
try on your machine

The command "bspc node --to-desktop ${number}" is used to move the currently focused window to a specific desktop in a tiling window manager called "bspwm".

Here's a breakdown of the command:

  • "bspc" refers to the command-line utility of bspwm, which provides various functionalities for managing windows and workspaces.
  • "node" is an option that specifies that we want to interact with individual windows.
  • "--to-desktop" is another option that tells bspc to move the selected window to a different desktop.
  • "${number}" is a placeholder for the desktop number, which should be replaced with the desired numeric identifier of the desktop you want to move the window to.

So, when you run this command, bspc will identify the currently focused window and reassign it to the specified desktop number, thereby moving the window to that specific desktop.

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