From 2dcd2e744110bb1cc8d793fae12d305b11cd91d3 Mon Sep 17 00:00:00 2001 From: Marc Date: Tue, 19 May 2020 07:55:35 +0200 Subject: [PATCH] changed sh to bash, otherwise 'run' function threw errors --- .config/bspwm/bspwmrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index ed381f6..3e8edaa 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash bspc monitor -d I II III IV V VI VII VIII IX X @@ -30,7 +30,7 @@ bspc rule -a Zathura state=tiled # function to check if a program already runs # if not, start it -function run { +function run () { if ! pgrep $1>/dev/null ; then $@& fi