open firefox devtools on specific monitor
This commit is contained in:
parent
d33afe18c6
commit
2cdb0043e2
13
external.sh
13
external.sh
|
@ -6,6 +6,9 @@ instance=$3
|
||||||
consequences=$4
|
consequences=$4
|
||||||
|
|
||||||
title=$(xtitle "$wid")
|
title=$(xtitle "$wid")
|
||||||
|
hostname=$(hostname)
|
||||||
|
|
||||||
|
# notify-send "$title" "$1 | $2 | $3 | $4"
|
||||||
|
|
||||||
case "$title" in
|
case "$title" in
|
||||||
WM_FORCE_FLOATING)
|
WM_FORCE_FLOATING)
|
||||||
|
@ -15,3 +18,13 @@ case "$title" in
|
||||||
echo "state=fullscreen"
|
echo "state=fullscreen"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case "$class" in
|
||||||
|
firefoxdeveloperedition)
|
||||||
|
if [ "$instance" = Devtools ] && [ "$hostname" = Pamela ] ; then
|
||||||
|
eval "$consequences"
|
||||||
|
echo "monitor=VGA-1-1"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue