Commit Graph

55 Commits

Author SHA1 Message Date
Roberto Alsina 0bc8df5c61 Fix snapping for right/bottom edges 2022-06-08 13:31:41 -03:00
Roberto Alsina 0fef2428b4 Fix values for Y snap points 2022-06-08 13:22:26 -03:00
Roberto Alsina 05bf2b963e Fix "make not-a-replica" 2022-06-08 13:15:22 -03:00
Roberto Alsina 008605b983 Fix mode application 2022-06-08 12:57:59 -03:00
Roberto Alsina dce8545ed3 Show mode frequency 2022-06-08 12:46:51 -03:00
Roberto Alsina afc6067d2b Working on making modes nicer 2022-06-08 10:27:34 -03:00
Roberto Alsina 183c2f1817 Fix snapping 2022-06-08 09:00:57 -03:00
Roberto Alsina 7d294ea15a Fix #11 2020-02-07 09:55:02 -03:00
Roberto Alsina 30860034f5 Fix #12 2020-02-06 18:42:03 -03:00
Roberto Alsina eb17909563 Use multiple xrandr invocations 2020-02-06 18:39:09 -03:00
Roberto Alsina a13c3436ef Block primary signal when switching monitors 2020-02-05 21:07:09 -03:00
Roberto Alsina 5d54b0afd8 cleanup 2020-02-05 21:03:42 -03:00
Roberto Alsina eb3f31cf15 made orientation selection work 2020-02-05 20:12:50 -03:00
Roberto Alsina 60038ae394 made other bits work 2020-02-05 20:10:14 -03:00
Roberto Alsina 709de20e9e Make interactive scaling work again 2020-02-05 19:59:09 -03:00
Roberto Alsina 6ca4100bab parse w/h in mm 2020-02-05 19:57:47 -03:00
Roberto Alsina 172b943f26 made other bits work 2020-02-05 19:55:06 -03:00
Roberto Alsina 841ce1ba3b made other bits work 2020-02-05 19:52:06 -03:00
Roberto Alsina 1d8769c334 Sort of starting to work with the new data structures 2020-02-05 19:41:05 -03:00
Roberto Alsina 6bb15ea6d3 Implemented get/set_primary 2020-02-05 19:16:51 -03:00
Roberto Alsina a66e69f5f6 implemented guess_scale_mode and orientation parsing 2020-02-05 19:16:29 -03:00
Roberto Alsina 76a836b82a Implemented choose_a_monitor 2020-02-05 18:36:22 -03:00
Roberto Alsina 8159f07724 primary monitor parsing 2020-02-05 18:35:54 -03:00
Roberto Alsina a409fcaa69 Add monitor enabled parsing 2020-02-05 18:21:32 -03:00
Roberto Alsina 6e18d870eb Organize monitors in screens 2020-02-05 17:58:04 -03:00
Roberto Alsina c40526118e Fix disconnected monitor parsing 2020-02-05 17:47:34 -03:00
Roberto Alsina 328b8ccfa3 Some more tests 2020-02-05 17:39:52 -03:00
Roberto Alsina e65fd89d65 initial test 2020-02-05 17:22:37 -03:00
Roberto Alsina 002c12a2c0 Parse a little more 2020-02-05 17:12:04 -03:00
Roberto Alsina 91353d5951 Parse a little more 2020-02-05 16:58:08 -03:00
Roberto Alsina 0a8f169064 basic monitor parsing started 2020-02-05 16:11:17 -03:00
Roberto Alsina 59a5da433b Dummy 2020-02-05 13:47:20 -03:00
Roberto Alsina 9fa3725904 refactor 2020-02-05 10:17:24 -03:00
Roberto Alsina ac8db1627a Support snapping to edges as long as Alt is not pressed 2020-02-04 20:31:19 -03:00
Roberto Alsina 52d84bec91 Update replica_of data when enabling a monitor 2020-02-04 13:49:54 -03:00
Roberto Alsina e52632c8f4 Update replica_of data when making a monitor a replica of another one. 2020-02-04 13:49:11 -03:00
Roberto Alsina 871d3a12c6 Make monitors translucid 2020-02-03 17:10:40 -03:00
Roberto Alsina 99c30ce7b9 When enabling a monitor, set a mode 2020-02-03 16:48:30 -03:00
Roberto Alsina f5aaec79e0 Hide monitors that are not visible 2020-02-03 16:39:24 -03:00
Roberto Alsina 97f37415f3 Try to guess scale mode 2020-02-03 16:04:08 -03:00
Roberto Alsina 71b596eacb lint 2020-02-03 15:40:49 -03:00
Roberto Alsina e23a95baca placeholder for scaling mode detection heuristics 2020-02-03 13:23:53 -03:00
Roberto Alsina c220bdcd74 Choose a reasonable monitor as initially selected one 2020-02-03 10:44:13 -03:00
Roberto Alsina b5d1492373 Ignore monitors that are disconnected 2020-02-03 10:31:59 -03:00
Roberto Alsina e0384672dd lint 2020-02-03 10:14:56 -03:00
Roberto Alsina 58c385f383 lint 2020-02-03 10:13:35 -03:00
Roberto Alsina 82e08825aa Do not consider monitors replicas if one is disabled 2020-02-03 10:11:53 -03:00
Roberto Alsina 22c6e969ce Show monitors properly rotated 2020-02-03 10:09:40 -03:00
Roberto Alsina c37bbf4bb4 v 0.1.1 2020-02-03 08:32:24 -03:00
Roberto Alsina ce37e2a48f faff to make __main__ not throw a warning 2020-02-02 11:37:38 -03:00