From 3b1cfa75d86a4b2b30f080c1849c68a409bbacb9 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 18 Jul 2020 20:14:51 +0200 Subject: Update --- .config/bspwm/README.org | 6 +----- .config/bspwm/bspwmrc | 2 -- 2 files changed, 1 insertion(+), 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 -- cgit v1.2.3