summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/bspwm/README.org6
-rwxr-xr-x.config/bspwm/bspwmrc2
2 files changed, 1 insertions, 7 deletions
diff --git a/.config/bspwm/README.org b/.config/bspwm/README.org
index f9543c5..989473b 100644
--- a/.config/bspwm/README.org
+++ b/.config/bspwm/README.org
@@ -3,7 +3,6 @@
* Table of contents :toc:
- [[#about][About]]
-- [[#the-shebang][The shebang]]
- [[#restart-safety][Restart safety]]
- [[#no-rerun-function][No-rerun function]]
- [[#killing][Killing]]
@@ -18,16 +17,13 @@
* About
The following is my ~bspwm~ init script.
-* The shebang
For my ~bspwm~ init script, I am using the ~dash~ shell for it is very fast.
- #+BEGIN_SRC shell :shebang #!/usr/local/bin/dash
- #+END_SRC
* Restart safety
** No-rerun function
The following function helps me not restart a specific program in case it is already running,
avoiding creating a new instance everytime I restart ~bspwm~.
- #+BEGIN_SRC shell
+ #+BEGIN_SRC shell :shebang #!/usr/local/bin/dash
run() {
if ! pgrep "$1";
then
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 934d4be..7875a96 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -1,6 +1,4 @@
#!/usr/local/bin/dash
-
-
run() {
if ! pgrep "$1";
then