Skip to content

Instantly share code, notes, and snippets.

@loadedsith
Created August 14, 2019 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loadedsith/7d75f7929295aaeb9574f9f36d78ea80 to your computer and use it in GitHub Desktop.
Save loadedsith/7d75f7929295aaeb9574f9f36d78ea80 to your computer and use it in GitHub Desktop.
chunkwm send window to next display, wrapped
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