dgy
/
hexagons
Archived
1
0
Fork 0
This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
hexagons/.config/bspwm/bspwmrc

53 lines
1.8 KiB
Plaintext
Raw Normal View History

2020-06-03 14:23:45 +00:00
#!/bin/sh
2017-02-20 23:39:22 +00:00
bspc rule -r "*"
bspmonis &
bspc config border_width 1
bspc config window_gap 6
bspc config top_padding 10
bspc config left_padding 0
bspc config right_padding 0
bspc config bottom_padding 10
bspc config split_ratio 0.5
2017-02-20 23:39:22 +00:00
2019-04-25 03:39:38 +00:00
# Opciones
2020-05-18 09:42:32 +00:00
bspc config gapless_monocle true
bspc config single_monocle false
bspc config ignore_ewmh_focus true
2020-06-03 14:23:45 +00:00
bspc config pointer_follows_focus true
bspc config removal_adjustment true
bspc config borderless_monocle false
bspc config remove_unplugged_monitors false
bspc config remove_disabled_monitors false
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
2017-02-20 23:39:22 +00:00
2018-05-26 20:06:45 +00:00
# xrdb
get_xrdb() {
2020-06-03 14:23:45 +00:00
xrdb -query | awk -v pat="$1" '$0~pat {print $2}'
2018-05-26 20:06:45 +00:00
}
# 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)"
2020-04-29 17:44:55 +00:00
bspc config presel_feedback_color "$(get_xrdb color6)"
2017-02-20 23:39:22 +00:00
# Flotantes
bspc rule -a Catia state=floating
bspc rule -a Cadence state=floating
bspc rule -a mpv state=floating
bspc rule -a Alacritty:flota state=floating
bspc rule -a Sxiv:fontpreview state=floating
bspc rule -a Zathura state=tiled
bspc rule -a Alacritty:multi desktop='^1'