summaryrefslogtreecommitdiffstats
path: root/bspwm/bspwmrc
blob: 393c4ca52adfa5378ef31da8d12c5a9d27745452 (plain) (blame)
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
#!/bin/sh

bspc monitor -d 1 2 3 4 5 6 7 8 9 10
bspc config bottom_padding 0
bspc config top_padding 0
bspc config border_width 1
bspc config window_gap 4
bspc config split_ratio 0.5

# Opciones
bspc config gapless_monocle true
bspc config ignore_ewmh_focus true
bspc config pointer_follows_focus true
bspc config removal_adjustment true
bspc config remove_unplugged_monitors true
bspc config remove_disabled_monitors true
bspc config single_monocle true
bspc config borderless_monocle true
bspc config honor_size_hints false
bspc config directional_focus_tightness low
bspc config automatic_scheme longest_side
bspc config initial_polarity second_child
bspc config click_to_focus any
bspc config pointer_modifier mod4
bspc config pointer_action1 resize_side
bspc config pointer_action2 resize_corner
bspc config pointer_action3 move

# xrdb
get_xrdb() {
	xrdb -query | awk -v pat="$1" '$0~pat {print $2}'
}

# Colores
bspc config normal_border_color "$(get_xrdb color0)"
bspc config focused_border_color "$(get_xrdb color3)"
bspc config active_border_color "$(get_xrdb color8)"
bspc config presel_feedback_color "$(get_xrdb color2)"

# Flotantes
bspc rule -a mpv state=floating
bspc rule -a Zathura state=tiled
bspc rule -a Links desktop='^2'

$TERMINAL &
#urxvt &
Un proyecto texto-plano.xyz