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.4 KiB
Plaintext
Raw Normal View History

2017-02-20 23:39:22 +00:00
#! /bin/sh
2017-03-10 16:36:19 +00:00
if [ -e "$BSPWM_STATE" ] ; then
bspc wm -l "$BSPWM_STATE"
rm "$BSPWM_STATE"
fi
2017-09-19 04:24:56 +00:00
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
2017-02-20 23:39:22 +00:00
gap=8
2017-03-19 13:01:55 +00:00
b_border_width=2
2017-02-20 23:39:22 +00:00
export b_border_width
export gap
# This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
2017-09-19 04:24:56 +00:00
bspc config window_gap $gap
bspc config top_padding -$gap
bspc config left_padding -$gap
bspc config right_padding -$gap
bspc config bottom_padding -$gap
2017-02-20 23:39:22 +00:00
# Various settings
2017-09-19 04:24:56 +00:00
bspc config gapless_monocle false
bspc config borderless_monocle true
bspc config single_monocle true
bspc config paddingless_monocle false
bspc config pointer_follows_focus true
bspc config click_to_focus true
2017-09-19 04:24:56 +00:00
bspc config ignore_ewmh_focus true
bspc config auto_cancel true
bspc config honor_size_hints true
bspc config initial_polarity second_child
bspc config pointer_modifier mod4
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner
2017-02-20 23:39:22 +00:00
# Color settings
2017-09-19 04:24:56 +00:00
bspc config normal_border_color "#212121"
bspc config focused_border_color "#215d9c"
2017-09-20 18:10:15 +00:00
bspc config active_border_color "#7cb342"
bspc config presel_feedback_color "#26c6da"
2017-09-19 04:24:56 +00:00
bspc config border_width $b_border_width
2017-03-19 13:01:55 +00:00
# Settings for manual splitting
2017-09-19 04:24:56 +00:00
bspc config split_ratio 0.45
2017-02-20 23:39:22 +00:00
# Floaters
bspc rule -a Lxappearance state=floating
bspc rule -a Vlc state=floating
bspc rule -a REAPER state=floating
2017-09-19 04:24:56 +00:00
bspc rule -a Sol state=floating
2017-09-11 13:44:59 +00:00
bspc rule -a Pavucontrol state=floating
2017-09-04 19:19:36 +00:00
bspc rule -a qsynth state=floating
bspc rule -a Catia.py sate=floating
2017-02-20 23:39:22 +00:00
bspc rule -a Cadence.py state=floating
2017-05-08 05:37:08 +00:00
bspc rule -a Qalculate-gtk state=floating
2017-02-20 23:39:22 +00:00
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
2017-09-20 18:10:15 +00:00
# Others
2017-03-10 16:36:19 +00:00
bspc rule -a Zathura state=tiled
bspc rule -a Oblogout state=fullscreen
2017-09-11 03:37:55 +00:00
# Open in place
2017-09-11 13:44:59 +00:00
bspc rule -a Termite desktop=^1
bspc rule -a Firefox desktop=^2 private=on
2017-09-11 03:37:55 +00:00
bspc rule -a qutebrowser desktop=^2
bspc rule -a Thunar desktop=^3
export _JAVA_AWT_WM_NONREPARENTING=1
export _JAVA_OPTIONS='-Dsun.java2d.opengl=true'
# External rules
bspc config external_rules_command `$HOME/.config/bspwm/scripts/external_rules.sh`
2017-03-10 16:36:19 +00:00
. $HOME/.config/bspwm/autostart