Compare commits
No commits in common. "55ce1d70dc41c8afe252b90a1c6002a036fc35e4" and "add240bdad0555c5403e1dd6ed3897ad23906948" have entirely different histories.
55ce1d70dc
...
add240bdad
14
external.sh
14
external.sh
|
@ -6,6 +6,7 @@ instance=$3
|
|||
consequences=$4
|
||||
|
||||
title=$(xtitle "$wid")
|
||||
hostname=$(hostname)
|
||||
|
||||
# notify-send "$title" "$1 | $2 | $3 | $4"
|
||||
|
||||
|
@ -13,10 +14,17 @@ case "$title" in
|
|||
WM_FORCE_FLOATING)
|
||||
echo "state=floating"
|
||||
;;
|
||||
WM_FORCE_TILED)
|
||||
echo "state=tiled"
|
||||
;;
|
||||
WM_FORCE_FULLSCREEN)
|
||||
echo "state=fullscreen"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$class" in
|
||||
firefoxdeveloperedition)
|
||||
if [ "$instance" = Devtools ] && [ "$hostname" = Pamela ] ; then
|
||||
eval "$consequences"
|
||||
echo "monitor=VGA-1-1"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#!/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
|
Loading…
Reference in New Issue