Created
August 14, 2019 16:12
-
-
Save loadedsith/7d75f7929295aaeb9574f9f36d78ea80 to your computer and use it in GitHub Desktop.
chunkwm send window to next display, wrapped
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id=$(chunkc tiling::query --monitor id); | |
count=$(chunkc tiling::query --monitor count); | |
next=$(expr $id % $count + 1) | |
chunkc tiling::window --send-to-monitor $next; | |
chunkc tiling::monitor -f $next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment