From 204bb12772093de587c63761c5cfa055bfa0a9ac Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 16 May 2020 07:08:24 +0000 Subject: [PATCH] config output makes less noise now --- .config/bspwm/bspwmrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index fe4af9d..ed381f6 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -31,7 +31,7 @@ bspc rule -a Zathura state=tiled # function to check if a program already runs # if not, start it function run { - if ! pgrep $1 ; then + if ! pgrep $1>/dev/null ; then $@& fi } @@ -39,7 +39,7 @@ function run { #autostart stuff xsetroot -cursor_name left_ptr numlockx on & -sxhkd & +run sxhkd & run picom & pulseaudio --start & @@ -48,3 +48,4 @@ if [[ $(hostname) == 'laptop' ]]; then else feh --bg-scale /home/marc/Archiv/Bilder/Wallpaper/3440x1440/3440x1440_Sea_Sunset.jpg & fi +