Linux command
bspc 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
bspc monitor -d [desktop_name1] [desktop_name2]
Focus
bspc desktop -f [number]
Close
bspc node -c
Send
bspc node -d [number]
Example
bspc node -t ~fullscreen
Set
bspc config [setting_name] [value]
说明
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.
参数
- -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)
FAQ
What is the bspc command used for?
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.
How do I run a basic bspc example?
Run `bspc monitor -d [desktop_name1] [desktop_name2]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d, --to-desktop _name_ do in bspc?
Send node to specified desktop