From 02a4a3a4c1e6116158b807674709f26933ac5b10 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 9 Oct 2023 17:42:22 +0100 Subject: Add desktop background --- config/bspwm/bspwmrc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'config/bspwm/bspwmrc') diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc index 44dab3b..aaa92ec 100755 --- a/config/bspwm/bspwmrc +++ b/config/bspwm/bspwmrc @@ -4,20 +4,17 @@ setup=0 COLOR_BACKGROUND="#282a2e" COLOR_PRIMARY="#fefefe" COLOR_SECONDARY="#707880" -BORDER=2 +BORDER=3 hsetroot -solid $COLOR_BACKGROUND & xsetroot -cursor_name left_ptr & xrdb ~/.config/Xdefaults -pgrep -x pipewire > /dev/null || pipewire & -pgrep -x pipewire-pulse > /dev/null || pipewire-pulse & -pgrep -x wireplumber > /dev/null || wireplumber & - pgrep -x sxhkd > /dev/null || sxhkd & #pgrep -x picom > /dev/null || picom & pgrep -x xss-lock > /dev/null || xss-lock slock & -#pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null & +pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null & +pgrep -x xcompmgr > /dev/null || xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 & [ -f "$HOME/.config/xrandr.sh" ] && . $HOME/.config/xrandr.sh @@ -33,7 +30,6 @@ for m in $(bspc query -M --names); do bspc monitor $m -d ${m}1 ${m}2 ${m}3 ${m}4 ${m}5 ${m}6 ${m}7 ${m}8 ${m}9 done - $HOME/.config/polybar/launch.sh & bspc config border_width $BORDER @@ -51,4 +47,10 @@ bspc config active_border_color "$COLOR_SECONDARY" bspc config focused_border_color "$COLOR_PRIMARY" wmname bspwm +sleep 1 + +pgrep -x pipewire > /dev/null || pipewire & +pgrep -x pipewire-pulse > /dev/null || pipewire-pulse & +pgrep -x wireplumber > /dev/null || wireplumber & + $HOME/.scripts/start-mpd -- cgit v1.2.1