Commit Graph

103 Commits

Author SHA1 Message Date
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
08ce2032ab more tests and asserts 2020-02-05 19:17:02 -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
ba7cf07550 more asserts 2020-02-05 18:38:09 -03:00
Roberto Alsina
c7d2477f76 added tests 2020-02-05 18:36:32 -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
30a7cb7753 Added failing test for disconnected monitors 2020-02-05 17:44:46 -03:00
Roberto Alsina
328b8ccfa3 Some more tests 2020-02-05 17:39:52 -03:00
Roberto Alsina
4f27512780 Some more tests 2020-02-05 17:34:46 -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
42faae6eb6 Ignore .venv 2020-02-05 16:02:40 -03:00
Roberto Alsina
2cd6d9dc6f Ignore .venv 2020-02-05 16:01:31 -03:00
Roberto Alsina
a1af9b9ca9 My versions, feel free to ignore 2020-02-05 13:48:32 -03:00
Roberto Alsina
cc659072f3 nothing 2020-02-05 13:48:11 -03:00
Roberto Alsina
59a5da433b Dummy 2020-02-05 13:47:20 -03:00
Roberto Alsina
df6d63f9e8 New deps for non-homless-person xrandr parsing 2020-02-05 13:04:49 -03:00
Roberto Alsina
6e59943f73 Honest python req line 2020-02-05 10:39:37 -03:00
Roberto Alsina
0ee37a0aca Make poetry's dependency thing happy by adding a totally silly python version requirement line 2020-02-05 10:28:31 -03:00
Roberto Alsina
9fa3725904 refactor 2020-02-05 10:17:24 -03:00
Roberto Alsina
f4c64506cc v1.0.5 2020-02-04 20:31:39 -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
5eb9ed646d v1.0.4 2020-02-04 13:55:16 -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
0a9a98ff40 remove todo 2020-02-03 17:16:48 -03:00
Roberto Alsina
43d24327f8 v1.0.3 2020-02-03 17:13:10 -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
1efbd9586d add black to pre-commit hooks 2020-02-03 16:10:41 -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
31b9d38d0b Merge branch 'master' of github.com:ralsina/randroll 2020-02-03 15:40:04 -03:00
Roberto Alsina
34b95ad749 add pre-commit hooks 2020-02-03 13:37:06 -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