#! /bin/sh
-bspc config border_width 5
-bspc config window_gap 10
+sxhkd &
+sh ~/.fehbg &
+xfce4-panel -d &
+pnmixer &
+compton &
+nm-applet &
-bspc config top_padding 24
+bspc monitor -d I II III IV V VI VII VIII IX X
+#bspc monitor eDP-1 -d I II III IV V
+#bspc monitor HDMI-1 -d VI VII VIII IX X
-bspc config split_ratio 0.5
-bspc config borderless_monocle true
-bspc config gapless_monocle true
-bspc config focus_by_distance true
+bspc config border_width 2
+bspc config window_gap 8
-bspc monitor -d web code term misc1 misc2
+#bspc config top_padding 20
-bspc rule -a Firefox desktop=^1 focus=on
-bspc rule -a emacs desktop=^2 focus=on
-bspc rule -a apvlv desktop=^5 focus=on
-bspc rule -a evince desktop=^5 focus=on
+bspc config split_ratio 0.52
+bspc config borderless_monocle true
+bspc config gapless_monocle true
+bspc config click_to_focus button1
+bspc config directional_focus_tightness low
-# panel &
+bspc rule -a Firefox desktop='^1' follow=on
+bspc rule -a Nightly desktop='^1' follow=on
+bspc rule -a Emacs desktop='^2' state=tiled follow=on
+#bspc rule -a Chromium desktop='^4' follow=on
+bspc rule -a URxvt state=floating
+bspc rule -a URxvt:tiled state=tiled
+bspc rule -a Connman-gtk state=floating
+bspc rule -a Xfce4-panel state=floating
+bspc rule -a TelegramDesktop state=floating
+bspc rule -a Ec state=floating
+bspc rule -a Pavucontrol state=floating
+bspc rule -a Eog state=floating
+bspc rule -a Seahorse state=floating
+bspc rule -a mpv state=floating
+bspc rule -a Evince state=floating
+bspc rule -a Meld state=floating
+bspc rule -a Autokey-gtk state=floating
+bspc rule -a Mousepad state=floating
+bspc rule -a Wrapper-1.0 state=floating
+bspc rule -a File-roller state=floating
+bspc rule -a Gnome-disks state=floating
+bspc rule -a Termite state=floating
+bspc rule -a Termite:tiled state=tiled
+bspc rule -a Thunderbird:Calendar state=floating
+bspc rule -a Audacity state=floating
+bspc rule -a Proof state=floating # pvs x-show-proof
+bspc rule -a Nm-connection-editor state=floating
+bspc rule -a Wire state=floating