From db1a4d981d8191e2e3bc15fa4667f7bb29276aad Mon Sep 17 00:00:00 2001 From: Ivan Héda Date: Mon, 12 Feb 2018 23:15:59 +0100 Subject: Rewritten to python. Displays are arranged into list --- README.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3bdf339..3b4105e 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,22 @@ # move-to-next-monitor -Script to move windows from one monitor to the next in Xubuntu +Originally, this is fork of [jc00ke](https://github.com/jc00ke/move-to-next-monitor)'s `move-to-next-monitor`. -Even though I don't use Xubuntu anymore, people are still interested -in this script. Sweet! Glad it can help others. +The logic has been rewritten to Python and changed slightly. Now, it cycles window through the monitors, which don't +need to be same sized to work properly. The order of cycling could be controlled with `--horizontal-first` +and `--reverse` parameters. -I mapped `ctrl+alt+n` to exectute this script. +Script requires to work properly: + * `xrandr` + * `xdotool` + * `wmctrl` + * `xprop` + * `python` ## Usage ``` -wget https://raw.githubusercontent.com/jc00ke/move-to-next-monitor/master/move-to-next-monitor +wget https://raw.githubusercontent.com/vanaoff/move-to-next-monitor/master/move-to-next-monitor chmod +x move-to-next-monitor mv move-to-next-monitor /somewhere/in/your/$PATH ``` @@ -19,11 +25,8 @@ mv move-to-next-monitor /somewhere/in/your/$PATH [We have one](code_of_conduct.md), and you're expected to follow it. -## Support - -Since I don't use Xubuntu and therefore don't have a way to test changes, I'm going to rely on others to QA and give me feedback. - ## Thanks * [icyrock](http://icyrock.com/blog/2012/05/xubuntu-moving-windows-between-monitors/) post for initial development * [@jordansissel](https://github.com/jordansissel) for his excellent [xdotool](https://github.com/jordansissel/xdotool) +* [jc00ke](https://github.com/jc00ke/move-to-next-monitor) -- cgit