-
Notifications
You must be signed in to change notification settings - Fork 1
/
bspwmrc
executable file
·54 lines (42 loc) · 1.3 KB
/
bspwmrc
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
53
54
#!/bin/sh
# establish workspaces
bspc monitor -d I II III IV V VI VII VIII IX
# numeric settings
bspc config border_width 2
bspc config window_gap 10
bspc config split_ratio 0.50
# boolean settings
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config single_monocle false
bspc config focus_follows_pointer true
bspc config ignore_ewmh_focus false
# color settings
bspc config focused_border_color "#81A1C1"
bspc config normal_border_color "#2E3440"
bspc config active_border_color "#B48EAD"
bspc config presel_feedback_color "#A3BE8C"
# rules
bspc rule -a flameshot focus=off follow=off
bspc rule -a rofi state=floating focus=on follow=on
# set background
feh --bg-fill $XDG_DATA_HOME/background.png
# pass vars to dbus and start gnome keyring
dbus-update-activation-environment --all &
gnome-keyring-daemon --start --components=secrets &
# start post-wm environment apps
polybar main &
sxhkd &
dunst &
eval $(
source $XDG_CONFIG_HOME/picom/opacity-rules
unset parameters
for ((i=0; i<${#opacity_rule[@]}; i++)); do
parameters+=("--opacity-rule" "${opacity_rule[$i]}")
done
picom \
--config $XDG_CONFIG_HOME/picom/picom.conf \
"${parameters[@]}"
) &
# start user applications
$XDG_CONFIG_HOME/bspwm/autostart