From 9348486a8a986462c4ed247780337d2833e3896e Mon Sep 17 00:00:00 2001 From: ray Date: Tue, 27 Oct 2020 12:45:23 +0000 Subject: [PATCH] set rule to force tiled --- external.sh | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/external.sh b/external.sh index ec79f8b..76becec 100755 --- a/external.sh +++ b/external.sh @@ -6,7 +6,6 @@ instance=$3 consequences=$4 title=$(xtitle "$wid") -hostname=$(hostname) # notify-send "$title" "$1 | $2 | $3 | $4" @@ -14,17 +13,10 @@ 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 -