diff --git a/bspwmrc b/bspwmrc index 0d4937a..559854b 100755 --- a/bspwmrc +++ b/bspwmrc @@ -3,13 +3,13 @@ # To restart bspwm after changing configuration options do # bspc wm -r -if pgrep sxhkd ; then pkill sxhkd; fi -_hostname="$(hostname)" +pkill -USR1 -x sxhkd 2>/dev/null +_hostname="$(hostname)" if [ "$_hostname" = MachineOne ] ; then - bspc monitor HDMI-0 -d 1 2 3 4 5 6 7 8 9 0 0_a 0_b 0_c 0_d 0_e - bspc monitor DVI-0 -d F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 - bspc monitor VGA-0 -d S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17 S18 S19 S20 + bspc monitor DP-0 -d F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 + bspc monitor DP-5 -d 1 2 3 4 5 6 7 8 9 0 0_a 0_b 0_c 0_d 0_e + bspc monitor HDMI-0 -d S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17 S18 S19 S20 fi bspc config ignore_ewmh_focus true