dotfiles/bin/.bin/euclid_mode
Anthony Debucquoy 9eede5ef5f
First Commit
This is a first dotfiles config. I think I have a lot more to add tho...
2023-10-24 23:29:07 +02:00

16 lines
317 B
Bash
Executable File

#! /bin/sh
fwid=$(bspc query -N -n focused.automatic)
wid=$1
class=$2
instance=$3
title=$(xtitle "$wid")
#floats=$(bspc query -N -n .local.floating | wc -l)
if bspc query -N -n "@/.!automatic" > /dev/null ; then
echo "node=@/"
fi
if [ -n "$fwid" ] ; then
echo "split_dir=south"
fi
#window-placer $floats $wid