2021-10-09 21:20:41 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-12-11 18:45:10 +00:00
|
|
|
setup=0
|
2022-07-31 21:09:31 +00:00
|
|
|
|
2022-12-11 18:45:10 +00:00
|
|
|
COLOR_BACKGROUND="#191919"
|
|
|
|
COLOR_PRIMARY="#fefefe"
|
|
|
|
COLOR_SECONDARY="#f58f44"
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
xsetroot -cursor_name left_ptr &
|
|
|
|
xrdb ~/.Xdefaults
|
|
|
|
|
|
|
|
pgrep -x sxhkd > /dev/null || sxhkd &
|
2023-03-01 00:15:29 +00:00
|
|
|
pgrep -x picom > /dev/null || picom &
|
2022-05-15 23:50:25 +00:00
|
|
|
pgrep -x xss-lock > /dev/null || xss-lock slock &
|
2022-12-11 18:45:10 +00:00
|
|
|
pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null &
|
2021-10-09 21:20:41 +00:00
|
|
|
|
2022-12-11 18:45:10 +00:00
|
|
|
[ -f "$HOME/.config/xrandr.sh" ] && . $HOME/.config/xrandr.sh
|
|
|
|
|
|
|
|
primary=$(bspc query --monitors -m primary)
|
|
|
|
set -- a b c d e f g h i j k l m n o
|
|
|
|
for m in $primary $(bspc query -M | grep -v $primary); do
|
|
|
|
echo "adding monitor $m as $1"
|
|
|
|
bspc monitor $m -n $1
|
|
|
|
shift 1
|
|
|
|
done
|
|
|
|
|
|
|
|
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 &
|
2021-10-09 21:20:41 +00:00
|
|
|
|
2022-05-15 23:50:25 +00:00
|
|
|
bspc config border_width 1
|
2021-10-09 21:20:41 +00:00
|
|
|
bspc config window_gap 0
|
|
|
|
|
|
|
|
bspc config focus_follows_pointer false
|
|
|
|
|
|
|
|
bspc config normal_border_color "$COLOR_BACKGROUND"
|
|
|
|
bspc config active_border_color "$COLOR_BACKGROUND"
|
|
|
|
bspc config focused_border_color "$COLOR_PRIMARY"
|
|
|
|
wmname bspwm
|
|
|
|
|
2022-05-15 23:50:25 +00:00
|
|
|
urxvt &
|
|
|
|
|
2022-07-31 21:09:31 +00:00
|
|
|
sleep 1; $HOME/.scripts/start-mpd
|