From 55ce1d70dc41c8afe252b90a1c6002a036fc35e4 Mon Sep 17 00:00:00 2001 From: ray Date: Tue, 27 Oct 2020 12:45:43 +0000 Subject: [PATCH] add transparency flash on node focus --- focus_flash.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 focus_flash.sh diff --git a/focus_flash.sh b/focus_flash.sh new file mode 100755 index 0000000..ac89555 --- /dev/null +++ b/focus_flash.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +bspc subscribe node_focus | while read -a msg ; do + _id=${msg[3]} + transset-df --id "$_id" 0.7 \ + && sleep 0.2 \ + && transset-df --id "$_id" 1 +done