81 lines
2.5 KiB
Bash
Executable File
81 lines
2.5 KiB
Bash
Executable File
#! /bin/sh
|
|
|
|
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
|
|
|
|
gap=8
|
|
pad=5
|
|
b_width=4
|
|
export b_width
|
|
export gap
|
|
export pad
|
|
|
|
# Setting -$gap on *_padding 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
|
|
bspc config top_padding $pad
|
|
bspc config left_padding $pad
|
|
bspc config right_padding $pad
|
|
bspc config bottom_padding $pad
|
|
|
|
# Settings
|
|
bspc config paddingless_monocle true
|
|
bspc config gapless_monocle true
|
|
bspc config borderless_monocle true
|
|
bspc config single_monocle false
|
|
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
|
|
|
|
# Colors
|
|
bspc config normal_border_color "#252525"
|
|
bspc config focused_border_color "#215d9c"
|
|
bspc config active_border_color "#7cb342"
|
|
bspc config presel_feedback_color "#26c6da"
|
|
bspc config border_width $b_width
|
|
|
|
# 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
|
|
bspc rule -a st-256color state=floating
|
|
|
|
# Others
|
|
bspc rule -a Zathura state=tiled
|
|
bspc rule -a Oblogout state=fullscreen
|
|
bspc rule -a Sonic Pi state=fullscreen
|
|
|
|
# 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`
|
|
|
|
2bspwm &
|
|
|
|
. $HOME/.config/bspwm/autostart
|