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