bspwm/external.sh

18 lines
204 B
Bash
Raw Normal View History

#!/bin/sh
wid=$1
class=$2
instance=$3
consequences=$4
title=$(xtitle "$wid")
case "$title" in
WM_FORCE_FLOATING)
echo "state=floating"
;;
WM_FORCE_FULLSCREEN)
echo "state=fullscreen"
;;
esac