Add an example that uses intermediate consequences

This commit is contained in:
Bastien Dejean 2020-02-03 18:41:25 +01:00
parent d3a7768356
commit 46ac471e42

View file

@ -3,6 +3,7 @@
wid=$1 wid=$1
class=$2 class=$2
instance=$3 instance=$3
consequences=$4
if [ "$instance" = fontforge ] ; then if [ "$instance" = fontforge ] ; then
title=$(xtitle "$wid") title=$(xtitle "$wid")
@ -12,3 +13,10 @@ if [ "$instance" = fontforge ] ; then
;; ;;
esac esac
fi fi
case "$class" in
Lutris|Liferea)
eval "$consequences"
[ "$state" ] || echo "state=pseudo_tiled"
;;
esac