blob: febf406b8cd90682dc357005720407102ac0a95f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#!/bin/sh
setup=1
COLOR_BACKGROUND="#151515"
COLOR_PRIMARY="#f58f44"
COLOR_SECONDARY="#5977b3"
xsetroot -cursor_name left_ptr &
xrdb ~/.Xdefaults
bash $HOME/.config/xrandr.xi.sh
if [ "$setup" = "0" ]; then
bspc monitor DP-0 -n A
bspc monitor A -d a1 a2 a3 a4 a5 a6 a7 a8 a9
bspc monitor DP-3 -n B
bspc monitor B -d b1 b2 b3 b4 b5 b6 b7 b8 b9
bspc monitor DP-4 -n C
bspc monitor C -d c1 c2 c3 c4 c5 c6 c7 c8 c9
bspc monitor HDMI-0 -n D
bspc monitor D -d d1 d2
else
bspc monitor DP-3 -n A
bspc monitor A -d a1 a2 a3 a4 a5 a6 a7 a8 a9
bspc monitor DP-1 -n B
bspc monitor B -d b1 b2 b3 b4 b5 b6 b7 b8 b9
bspc monitor DP-2 -n C
bspc monitor C -d c1 c2 c3 c4 c5 c6 c7 c8 c9
bspc monitor HDMI-1 -n D
bspc monitor D -d d1 d2
fi
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x picom > /dev/null || picom &
pgrep -x xss-lock > /dev/null || xss-lock slock &
$HOME/.config/polybar/launch.sh
$HOME/.scripts/bg.sh
bspc config border_width 1
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
urxvt &
sleep 1; $HOME/.scripts/start-mpd
|