2019-03-18 13:30:51 -04:00
|
|
|
#! /bin/sh
|
2019-09-24 18:19:30 -04:00
|
|
|
# ____ _____
|
|
|
|
# | _ \_ _| Derek Taylor (DistroTube)
|
|
|
|
# | | | || | http://www.youtube.com/c/DistroTube
|
|
|
|
# | |_| || | http://www.gitlab.com/dwt1/
|
|
|
|
# |____/ |_|
|
|
|
|
#
|
|
|
|
# A customized bspwmrc for the bspwm window manager.
|
|
|
|
# https://github.com/baskerville/sxhkd
|
|
|
|
# https://github.com/baskerville/bspwm
|
2019-03-18 13:30:51 -04:00
|
|
|
|
2019-08-08 15:12:01 -04:00
|
|
|
|
2019-09-24 18:19:30 -04:00
|
|
|
#### AUTOSTART ####
|
2019-03-18 13:30:51 -04:00
|
|
|
sxhkd &
|
2019-08-08 15:12:01 -04:00
|
|
|
compton &
|
|
|
|
nitrogen --restore &
|
|
|
|
./.config/bspwm/panel.sh &
|
|
|
|
|
|
|
|
#### MONITORS ####
|
2019-09-24 18:19:30 -04:00
|
|
|
bspc monitor DisplayPort-0 -d 1 2 3 4 5 6 7 8 9
|
|
|
|
bspc monitor DisplayPort-1 -d 1 2 3 4 5 6 7 8 9
|
|
|
|
bspc monitor HDMI-A-0 -d 1 2 3 4 5 6 7 8 9
|
2019-03-18 13:30:51 -04:00
|
|
|
|
2019-08-08 15:12:01 -04:00
|
|
|
#### BSPWM configuration ####
|
|
|
|
#bspc config border_radius 8
|
2019-03-18 13:30:51 -04:00
|
|
|
bspc config border_width 2
|
2019-08-08 15:12:01 -04:00
|
|
|
bspc config window_gap 10
|
|
|
|
bspc config top_padding 20
|
|
|
|
bspc config bottom_padding 0
|
|
|
|
bspc config left_padding 0
|
|
|
|
bspc config right_padding 0
|
|
|
|
bspc config single_monocle false
|
|
|
|
bspc config click_to_focus true
|
|
|
|
bspc config split_ratio 0.50
|
2019-03-18 13:30:51 -04:00
|
|
|
bspc config borderless_monocle true
|
|
|
|
bspc config gapless_monocle true
|
2019-08-08 15:12:01 -04:00
|
|
|
bspc config focus_by_distance true
|
|
|
|
bspc config focus_follows_pointer true
|
|
|
|
bspc config history_aware_focus true
|
|
|
|
bspc config pointer_modifier mod4
|
|
|
|
bspc config pointer_action1 move
|
|
|
|
bspc config pointer_action2 resize_side
|
|
|
|
bspc config pointer_action3 resize_corner
|
|
|
|
bspc config remove_disabled_monitors true
|
|
|
|
bspc config merge_overlapping_monitors true
|
|
|
|
|
|
|
|
#### BSPWM coloring ####
|
|
|
|
bspc config normal_border_color "#4c566a"
|
|
|
|
bspc config active_border_color "#1e1e1e"
|
|
|
|
bspc config focused_border_color "#5e81ac"
|
|
|
|
bspc config presel_feedback_color "#5e81ac"
|
|
|
|
bspc config urgent_border_color "#dd2727"
|
|
|
|
|
|
|
|
#polybar hidden when fullscreen for vlc, youtube, mpv ...
|
|
|
|
#find out the name of your monitor with xrandr
|
|
|
|
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DisplayPort-0)
|
|
|
|
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DisplayPort-1)
|
|
|
|
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_HDMI-A-0)
|
2019-03-18 13:30:51 -04:00
|
|
|
|
|
|
|
bspc rule -a Gimp desktop='^8' state=floating follow=on
|
|
|
|
bspc rule -a Chromium desktop='^2'
|
|
|
|
bspc rule -a mplayer2 state=floating
|
|
|
|
bspc rule -a Kupfer.py focus=on
|
|
|
|
bspc rule -a Screenkey manage=off
|