Add desktop background

This commit is contained in:
davidovski 2023-10-09 17:42:22 +01:00
parent 051ed527f6
commit 02a4a3a4c1
21 changed files with 65 additions and 47 deletions

View file

@ -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