blob: 88add643e295181149ed53bf8799433637075fb8 (
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
|
#! /bin/bash
run () {
pgrep -f "$*" && echo "$1 already running" || $* &
}
xrdb -merge ~/.Xdefaults
xsetroot -cursor_name left_ptr
run sxhkd
run polybar bspwm
run ~/scripts/bspwm/desktops.sh
run ~/scripts/bspwm/border_colors.sh
run ~/scripts/bspwm/wallpaper.sh
#compton -i .8 --focus-exclude '_NET_WM_NAME@:s = "rofi"' --blur-background --blur-kern '3,3,0.1,1,1,1,1,1,1,1' &
# Create at least a desktop named "1" and add all the other existing desktop
bspc monitor -d $(cat <(echo 1) <(bspc query --names -D | grep -v Desktop) | sort -u -V | tr -s '\n' ' ')
bspc config border_width 2
bspc config window_gap 12
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config single_monocle true
bspc config focus_follows_pointer true
bspc rule -r "*"
bspc rule -a "QtPass:qtpass" sticky=on state=floating
|