summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-18 20:14:51 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-18 20:14:51 +0200
commit3b1cfa75d86a4b2b30f080c1849c68a409bbacb9 (patch)
tree913e2b3f56d1efe81b02667d1ce16ee557daf03b /.config
parentCommit (diff)
downloaddotfiles-bsd-3b1cfa75d86a4b2b30f080c1849c68a409bbacb9.tar.gz
dotfiles-bsd-3b1cfa75d86a4b2b30f080c1849c68a409bbacb9.tar.bz2
dotfiles-bsd-3b1cfa75d86a4b2b30f080c1849c68a409bbacb9.tar.xz
dotfiles-bsd-3b1cfa75d86a4b2b30f080c1849c68a409bbacb9.tar.zst
dotfiles-bsd-3b1cfa75d86a4b2b30f080c1849c68a409bbacb9.zip
Update
Diffstat (limited to '.config')
-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