aboutsummaryrefslogtreecommitdiff
path: root/bspwm/.config/bspwm/bspwmrc
blob: a7eaef2a122f62b45e1d648e0131228dd5c1940b (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
#! /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
~/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 -a Gimp desktop='^8' state=floating follow=on
#bspc rule -a Screenkey manage=off
#bspc rule -a Thunderbird desktop='Mail'
#bspc rule -a 'Firefox-esr' desktop='Web'
#bspc rule -a Gmpc desktop='Musique'

bspc rule -r "*"
bspc rule -a "QtPass:qtpass" sticky=on state=floating