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

80 lines
2.8 KiB
Bash
Executable File

#!/bin/bash
#bspc monitor LVDS1 -d 1 2 3 4 5 6 7 8 9 10
multipantalla &
gap=8
pad=6
panel=22
b_width=2
export b_width
export gap
export pad
export panel
# Si se usa -$gap en *_padding, solamente se ven huecos entre las ventanas, pero no entre las ventanas y los bordes del escritorio
bspc config window_gap $pad
bspc config top_padding 0
bspc config left_padding 0
bspc config right_padding 0
bspc config bottom_padding 0
# Settings
bspc config paddingless_monocle true
bspc config gapless_monocle true
bspc config borderless_monocle true
bspc config single_monocle true
bspc config remove_unplugged_monitors true
bspc config remove_disabled_monitors true
bspc config ignore_ewmh_focus true
bspc config honor_size_hints false
bspc config directional_focus_tightness low
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
bspc config split_ratio 0.50
# xrdb
get_xrdb() {
xrdb -query | grep "$1" | awk '{print $2}' | tail -n1
}
xrdb -merge "${HOME}/.Xresources"
# Colores
bspc config normal_border_color "$(get_xrdb color0)"
bspc config focused_border_color "$(get_xrdb color3)"
bspc config border_width $b_width
# Flotantes
bspc rule -a REAPER state=floating, layer=below
bspc rule -a Sol state=floating
bspc rule -a Pavucontrol state=floating
bspc rule -a Catia state=floating
bspc rule -a Cadence state=floating
bspc rule -a Qalculate-gtk state=floating
bspc rule -a mpv state=floating
bspc rule -a Gucharmap state=floating
bspc rule -a File-roller state=floating
bspc rule -a Catfish state=floating
bspc rule -a obs state=floating
bspc rule -a Pd-l2ork state=floating
bspc rule -a PdWindow state=floating
bspc rule -a PatchWindow state=floating
bspc rule -a Nm-connection-editor state=floating
bspc rule -a Godot state=floating
bspc rule -a Pinentry state=floating
bspc rule -a URxvt:flota state=floating
# Otros
bspc rule -a Zathura state=tiled
bspc rule -a Oblogout layer=above
bspc config external_rules_command "$HOME/.config/bspwm/external_rules.sh"
bbspwm &
# shellcheck source=/dev/null
. "$HOME/.config/bspwm/autostart"