LinuxCommandLibrary

bspc

Control the bspwm tiling window manager

TLDR

Define virtual desktops

$ bspc monitor -d [desktop_name1] [desktop_name2]
copy
Focus a specific desktop
$ bspc desktop -f [number]
copy
Close the selected window
$ bspc node -c
copy
Send a node to a desktop
$ bspc node -d [number]
copy
Toggle fullscreen mode
$ bspc node -t ~fullscreen
copy
Set a configuration value
$ bspc config [setting_name] [value]
copy

SYNOPSIS

bspc domain command [arguments]

DESCRIPTION

bspc is the control program for bspwm (Binary Space Partitioning Window Manager). It sends commands to the window manager to manipulate windows, desktops, monitors, and configuration settings.
The tool uses a domain-command structure where domains include node (windows), desktop, monitor, and config.

PARAMETERS

-d, --to-desktop name

Send node to specified desktop
-f, --focus selector
Focus the selected node/desktop
-c, --close
Close the selected node
-t, --state state
Set node state (tiled, floating, fullscreen)

DOMAINS

node

Manipulate window nodes (focus, move, resize, close, state)
desktop
Manage desktops (focus, rename, remove)
monitor
Configure monitors and their desktops
config
Get or set configuration options
rule
Manage window rules
query
Query tree state
subscribe
Subscribe to events

SEE ALSO

bspwm(1), sxhkd(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community