From 1611c5f0a2d694691677780c359ff41a6b2ef2a6 Mon Sep 17 00:00:00 2001 From: Raffaele Mignone Date: Sat, 30 Oct 2021 15:13:44 +0200 Subject: [PATCH] bspc, bspwm: add page (#7215) --- pages/linux/bspc.md | 24 ++++++++++++++++++++++++ pages/linux/bspwm.md | 12 ++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 pages/linux/bspc.md create mode 100644 pages/linux/bspwm.md diff --git a/pages/linux/bspc.md b/pages/linux/bspc.md new file mode 100644 index 000000000..9dcc19260 --- /dev/null +++ b/pages/linux/bspc.md @@ -0,0 +1,24 @@ +# bspc + +> A tool to control `bspwm`. +> More information: . + +- 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` diff --git a/pages/linux/bspwm.md b/pages/linux/bspwm.md new file mode 100644 index 000000000..b69072461 --- /dev/null +++ b/pages/linux/bspwm.md @@ -0,0 +1,12 @@ +# bspwm + +> A tiling window manager based on binary space partitioning. +> More information: . + +- 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`