~scriptstiling
10 itemsDownload ./*


..
xrectsel
drawterm
ext.grid
grid
gridmacro
gridmacro.kde
snap.all
snap.grid
split.grid
swap.grid


tilingsnap.all
1 4605 years agoDownloadRawClose


#!/bin/bash
#
#   Author:         Twily                                                       2015
#   Description:    Uses 'snap.grid' to snap all visible windows into a virtual grid
#   Requires:       xdotool, snap.grid
#   Usage:          $ sh ./snap.all
#

for w in $(xdotool search --onlyvisible --desktop $(xdotool get_desktop) --name ""); do
    sh ~/scripts/tiling/snap.grid $w
done

exit 0

Top
twily at twily dot info
©twily.info 2013 - 2021



1 695 381 visits
... ^ v