Browse Source

bspc, bspwm: add page (#7215)

Raffaele Mignone 3 years ago
parent
commit
1611c5f0a2
2 changed files with 36 additions and 0 deletions
  1. 24 0
      pages/linux/bspc.md
  2. 12 0
      pages/linux/bspwm.md

+ 24 - 0
pages/linux/bspc.md

@@ -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 - 0
pages/linux/bspwm.md

@@ -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`