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

61 lines
2.0 KiB
Plaintext
Raw Normal View History

2017-02-20 23:39:22 +00:00
#! /bin/sh
bspc monitor -d I II III IV V VI VII VIII IX X
gap=8
panel_height=18
b_border_width=6
export b_border_width
export gap
export panel_height
#This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
bspc config window_gap $gap;
2017-02-23 03:30:07 +00:00
bspc config top_padding -$gap
2017-02-20 23:39:22 +00:00
bspc config left_padding -$gap
bspc config right_padding -$gap
bspc config bottom_padding -$gap
#Various settings
bspc config gapless_monocle false #Default setup uses negative padding, and gapless monocle looks really weird like that
bspc config borderless_monocle true
bspc config single_monocle true
bspc config paddingless_monocle false
bspc config remove_unplugged_monitors true &
## Honor size hints: do not make windows smaller than they wish to be
bspc config honor_size_hints true
##Color settings
bspc config normal_border_color "#171717"
bspc config focused_border_color "#601809"
bspc config presel_feedback_color "#51c4d4"
bspc config border_width $b_border_width &
bspc config focus_follows_pointer true &
bspc config ignore_ewmh_focus true &
#Settings for manual splitting
2017-02-23 03:30:07 +00:00
bspc config split_ratio 0.40
2017-02-20 23:39:22 +00:00
#Floaters
bspc rule -a Godot state=floating
bspc rule -a Skype state=floating
bspc rule -a Cadence.py state=floating
bspc rule -a Pavucontrol state=floating
bspc rule -a Pamac-updater state=floating
bspc rule -a Pamac-manager state=floating
bspc rule -a Galculator state=floating
bspc rule -a sun-awt-X11-XFramePeer state=floating
bspc rule -a processing-app-Base state=floating
bspc rule -a Bless state=tiled
bspc rule -a mpv state=floating
2017-02-23 03:30:07 +00:00
bspc rule -a st manage=off
2017-02-20 23:39:22 +00:00
###External rules
bspc config external_rules_command `$HOME/.config/bspwm/scripts/external_rules.sh` &
pgrep -f pulse.sh >/dev/null 2>&1 && pkill -f pulse.sh
pgrep -f 2bspwm >/dev/null 2>&1 && pkill -f 2bspwm
# If our border width is not at least 5px 2 borders looks eh. If not doing that, let's pulse.
[ $b_border_width -gt 4 ] && (nohup $HOME/.config/bspwm/scripts/2bspwm &) || (nohup $HOME/.config/bspwm/scripts/pulse.sh &) &