mirror of
https://github.com/vale981/bspwm
synced 2025-03-05 09:51:38 -05:00
Add an example that uses intermediate consequences
This commit is contained in:
parent
d3a7768356
commit
46ac471e42
1 changed files with 9 additions and 1 deletions
|
@ -3,12 +3,20 @@
|
||||||
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")
|
||||||
case "$title" in
|
case "$title" in
|
||||||
Layers|Tools|Warning)
|
Layers|Tools|Warning)
|
||||||
echo "focus = off"
|
echo "focus=off"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
case "$class" in
|
||||||
|
Lutris|Liferea)
|
||||||
|
eval "$consequences"
|
||||||
|
[ "$state" ] || echo "state=pseudo_tiled"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue