From 9378af8da19f0ffdc439c66bd86e76baedff6041 Mon Sep 17 00:00:00 2001 From: ray Date: Sat, 31 Oct 2020 20:21:01 +0000 Subject: [PATCH 1/2] add border flash script --- border_flash.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 border_flash.sh diff --git a/border_flash.sh b/border_flash.sh new file mode 100755 index 0000000..90f7943 --- /dev/null +++ b/border_flash.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +bspc subscribe node_focus | while read -a msg ; do + bspc config focused_border_color '#ff2222' \ + && sleep 0.2 \ + && bspc config focused_border_color '#222222' +done From 11907764bdd073ac69feb13ac31d07536f5289b8 Mon Sep 17 00:00:00 2001 From: ray Date: Sat, 31 Oct 2020 20:21:38 +0000 Subject: [PATCH 2/2] add border width on windows for all monitors --- bspwmrc | 3 --- 1 file changed, 3 deletions(-) diff --git a/bspwmrc b/bspwmrc index 5a70e8a..a764197 100755 --- a/bspwmrc +++ b/bspwmrc @@ -10,9 +10,7 @@ if [ "$_hostname" = MachineOne ] ; then # virtual monitors bspc monitor FULLV -d F1 F2 F3 F4 - bspc config -m FULLV border_width 0 bspc monitor FULLH -d F5 F6 F7 F8 - bspc config -m FULLH border_width 0 # aoc 1 bspc monitor VGA-1 -d one two three four five six seven eight nine zero @@ -23,7 +21,6 @@ if [ "$_hostname" = MachineOne ] ; then sxhkd -c ~/.config/sxhkd/sxhkdrc ~/.config/sxhkd/sxhkdrc.bspwm ~/.config/sxhkd/sxhkdrc.bspwm.machineone & elif [ "$_hostname" = MachineTwo ] ; then bspc monitor eDP-1-1 -d one two three four five six seven eight nine zero - # bspc config -m eDP-1-1 border_width 0 sxhkd -c ~/.config/sxhkd/sxhkdrc ~/.config/sxhkd/sxhkdrc.bspwm ~/.config/sxhkd/sxhkdrc.bspwm.machinetwo & fi