Use polybar instead of xfce4-panel
[~bandali/configs] / bspwm / .config / bspwm / bspwmrc
index d9d4507..de905a7 100755 (executable)
@@ -1,20 +1,36 @@
 #! /bin/sh
 
-bspc config border_width        5
-bspc config window_gap                 10
+sxhkd &
+sh ~/.fehbg &
+launch-polybar
+connman-gtk &
+pnmixer &
+compton &
 
-bspc config top_padding 27
+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 I II III IV V VI VII VIII IX X
-bspc monitor -d I II III IV V
+bspc config top_padding 28
 
-bspc rule -a Firefox desktop=^2 focus=on
-bspc rule -a Thunderbird desktop=^3 focus=on
-bspc rule -a apvlv 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       true
 
-# panel &
+bspc rule -a Firefox 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