mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 22:15:42 +02:00
bspc, bspwm: add page (#7215)
This commit is contained in:
parent
cac4d69538
commit
1611c5f0a2
2 changed files with 36 additions and 0 deletions
24
pages/linux/bspc.md
Normal file
24
pages/linux/bspc.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# bspc
|
||||||
|
|
||||||
|
> A tool to control `bspwm`.
|
||||||
|
> More information: <https://github.com/baskerville/bspwm>.
|
||||||
|
|
||||||
|
- Define two virtual desktop:
|
||||||
|
|
||||||
|
`bspc monitor --reset-desktops {{1}} {{2}}`
|
||||||
|
|
||||||
|
- Focus the given desktop:
|
||||||
|
|
||||||
|
`bspc desktop --focus {{number}}`
|
||||||
|
|
||||||
|
- Close the windows rooted at the selected node:
|
||||||
|
|
||||||
|
`bspc node --close`
|
||||||
|
|
||||||
|
- Send the selected node to the given desktop:
|
||||||
|
|
||||||
|
`bspc node --to-desktop {{number}}`
|
||||||
|
|
||||||
|
- Toggle full screen mode for the selected node:
|
||||||
|
|
||||||
|
`bspc node --state ~fullscreen`
|
12
pages/linux/bspwm.md
Normal file
12
pages/linux/bspwm.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# bspwm
|
||||||
|
|
||||||
|
> A tiling window manager based on binary space partitioning.
|
||||||
|
> More information: <https://github.com/baskerville/bspwm>.
|
||||||
|
|
||||||
|
- Start `bspwm` (note that a pre-existing window manager must not be open when this command is run):
|
||||||
|
|
||||||
|
`bspwm -c {{path/to/config}}`
|
||||||
|
|
||||||
|
- View documentation for `bspc`:
|
||||||
|
|
||||||
|
`tldr bspc`
|
Loading…
Add table
Reference in a new issue