diff options
Diffstat (limited to 'bin/swap')
-rwxr-xr-x | bin/swap | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/swap b/bin/swap deleted file mode 100755 index 4c17dc7..0000000 --- a/bin/swap +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/python - -import i3 -outputs = i3.get_outputs() -print(outputs[0]) - -# set current workspace to output 0 -i3.workspace(outputs[0]['current_workspace']) - -# ..and move it to the other output. -# outputs wrap, so the right of the right is left ;) -i3.command('move', 'workspace to output right') - -# rinse and repeat -i3.workspace(outputs[1]['current_workspace']) -i3.command('move', 'workspace to output right') |