From a9a2d00b26ceb1e06f427112aed4cfa5bf438ca9 Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Sat, 1 Aug 2020 20:23:02 +0200 Subject: [PATCH] Mention `bspwmrc`'s argument in the right document --- README.md | 2 ++ doc/bspwm.1 | 11 +++-------- doc/bspwm.1.asciidoc | 7 ------- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 991f687..9c47370 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ sxhkd --------> bspc <------> bspwm The default configuration file is `$XDG_CONFIG_HOME/bspwm/bspwmrc`: this is simply a shell script that calls *bspc*. +An argument is passed to that script to indicate whether is was executed after a restart (`$1 -gt 0`) or not (`$1 -eq 0`). + Keyboard and pointer bindings are defined with [sxhkd](https://github.com/baskerville/sxhkd). Example configuration files can be found in the [examples](examples) directory. diff --git a/doc/bspwm.1 b/doc/bspwm.1 index b5171be..8d9603b 100644 --- a/doc/bspwm.1 +++ b/doc/bspwm.1 @@ -2,12 +2,12 @@ .\" Title: bspwm .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 07/28/2020 +.\" Date: 08/01/2020 .\" Manual: Bspwm Manual -.\" Source: Bspwm 0.9.9-26-ga54ab70 +.\" Source: Bspwm 0.9.9-33-g1c795c3 .\" Language: English .\" -.TH "BSPWM" "1" "07/28/2020" "Bspwm 0\&.9\&.9\-26\-ga54ab70" "Bspwm Manual" +.TH "BSPWM" "1" "08/01/2020" "Bspwm 0\&.9\&.9\-33\-g1c795c3" "Bspwm Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -1601,11 +1601,6 @@ State of the focused node of a focused desktop\&. .RS 4 Active flags of the focused node of a focused desktop\&. .RE -.SH "CONFIGURATION FILE" -.sp -Its default path is \fI$XDG_CONFIG_HOME/bspwm/bspwmrc\fR\&. -.sp -An argument is passed to this script: the run level, a number which indicates whether it was launched after a restart (cf\&. \fIwm \-r\fR) or not\&. .SH "ENVIRONMENT VARIABLES" .PP \fIBSPWM_SOCKET\fR diff --git a/doc/bspwm.1.asciidoc b/doc/bspwm.1.asciidoc index 9d2a42b..55a8f2e 100644 --- a/doc/bspwm.1.asciidoc +++ b/doc/bspwm.1.asciidoc @@ -944,13 +944,6 @@ Each item has the form '' where '' is the first character of 'G(S?P?L?M?)':: Active flags of the focused node of a focused desktop. -Configuration file ------------------- - -Its default path is '$XDG_CONFIG_HOME/bspwm/bspwmrc'. - -An argument is passed to this script: the run level, a number which indicates whether it was launched after a restart (cf. 'wm -r') or not. - Environment Variables --------------------- -- 2.44.0