Re: [dev] [dwm] Optional status bar
On 2012-01-28 14:22, Bjartur Thorlacius wrote:
> When I think of it, I can't but wonder if we could write a program
> that does tagging and tagging only, and a selection of separate
> layout managers that automatically tile or maximize mapped windows.
> Interoperability with (other) no-wm tools would be an ultimate win.
An script with xdotool might suffice since it can map/unmap, resize.
cf. the following script for map/unmap based on wm name:
wm_name="$1"
tf="${HOME}/.wm-unmapped-${wm_name}"
[[ ! -e $tf ]] && {
xdotool search $wm_name windowunmap
touch $tf
exit 0
}
xdotool search $wm_name windowmap
xdotool search $wm_name windowraise
xdotool search $wm_name windowsize 100% 100% windowmove 0 0
rm $tf
Received on Sat Jan 28 2012 - 16:04:26 CET
This archive was generated by hypermail 2.3.0
: Sat Jan 28 2012 - 16:24:04 CET