configfiles/bspwm/.config/bspwm/bspwmrc
2016-12-20 10:26:09 +01:00

58 lines
1.4 KiB
Bash
Executable file

#!/bin/sh
INTERN="LVDS1"
EXTERN="VGA1"
bspc monitor $INTERN -d 1 2 3 4 5 6 7 8 9
#bspc monitor $EXTERN -d 1 2 3 4 5 6 7 8 9
bspc wm --adopt-orphans
bspc config border_width 1
# bspc config -m $INTERN top_padding 18
bspc config window_gap 4
bspc config split_ratio 0.5
bspc config borderless_monocle true
bspc config gapless_monocle false
bspc config focus_follows_pointer true
#bspc config auto_alternate true
#bspc config auto_cancel true
bspc config ignore_ewmh_focus true
#bspc config remove_disabled_monitor true
bspc config active_border_color "#545350"
bspc config focused_border_color "#7E7F89"
# Mouse
bspc config "pointer_modifier" "mod4"
bspc config "pointer_action1" "move"
bspc config "pointer_action2" "resize_corner"
#Nitrogen
bspc rule -a Nitrogen state=floating
# Onboard keyboard
bspc rule -a onboard manage=off
# Flash
bspc rule -a plugin-container state=fullscreen
bspc desktop LVDS1:^9 -l monocle
bspc rule -a "Psi-plus" desktop='LVDS1:^9'
bspc rule -a "Thunderbird" desktop='LVDS1:^9'
bspc rule -a "Weechat:*" desktop='LVDS1:^9'
bspc rule -a "Pidgin:*" desktop='LVDS1:^9'
bspc rule -a "Gajim" desktop='LVDS1:^9'
bspc rule -a viewnior state=floating
bspc rule -a feh state=floating
bspc rule -a mpv state=floating
bspc rule -a "URxvt:*" state=floating
bspc rule -a Thunar state=floating
bspc rule -a QEMU state=floating
bspc rule -a Gimp focus=on
wmname LG3D