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-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
2018-02-14 22:03:56 +00:00
pad=6
2018-03-15 19:26:00 +00:00
b_width=1
export b_width
2017-02-20 23:39:22 +00:00
export gap
export pad
2017-02-20 23:39:22 +00:00
# Setting -$gap on *_padding 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 $pad
bspc config left_padding $pad
bspc config right_padding $pad
bspc config bottom_padding $pad
2017-02-20 23:39:22 +00:00
# Settings
bspc config paddingless_monocle true
bspc config gapless_monocle true
bspc config borderless_monocle true
2018-02-12 06:07:29 +00:00
bspc config single_monocle true
bspc config remove_unplugged_monitors true
bspc config remove_disabled_monitors true
bspc config pointer_follows_focus true
bspc config ignore_ewmh_focus false
bspc config auto_cancel true
bspc config honor_size_hints true
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.45
2017-02-20 23:39:22 +00:00
# Colors
bspc config normal_border_color "#252525"
2017-09-19 04:24:56 +00:00
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"
bspc config border_width $b_width
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
bspc rule -a Sol state=floating
bspc rule -a Pavucontrol state=floating
bspc rule -a qsynth state=floating
bspc rule -a Catia.py state=floating
bspc rule -a Cadence.py 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
2018-02-09 20:05:20 +00:00
bspc rule -a st-256color state=floating
2017-09-20 18:10:15 +00:00
# Others
bspc rule -a Zathura state=tiled
bspc rule -a Oblogout state=fullscreen
2017-09-11 03:37:55 +00:00
# Run in place
bspc rule -a Termite desktop=^1
bspc rule -a Firefox 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/external_rules.sh`
2018-03-15 19:26:00 +00:00
#2bspwm &
2017-03-10 16:36:19 +00:00
. $HOME/.config/bspwm/autostart