mirror of
https://github.com/vale981/bspwm
synced 2025-03-04 17:31:39 -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
|
||||
class=$2
|
||||
instance=$3
|
||||
consequences=$4
|
||||
|
||||
if [ "$instance" = fontforge ] ; then
|
||||
title=$(xtitle "$wid")
|
||||
case "$title" in
|
||||
Layers|Tools|Warning)
|
||||
echo "focus = off"
|
||||
echo "focus=off"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
case "$class" in
|
||||
Lutris|Liferea)
|
||||
eval "$consequences"
|
||||
[ "$state" ] || echo "state=pseudo_tiled"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue