-
-
Notifications
You must be signed in to change notification settings - Fork 50
Add persistant profiles #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
nwg-piotr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I see nothing in this mess. Remove .pyc files, please.
|
@nwg-piotr oh sorry I should've marked it as draft, it's not ready yet |
|
Sorry man I thought of refactoring it because it's honestly hard to understand and it'll be easier in the future to add other features |
9e1d7b2 to
de87582
Compare
…displays into persistant-profiles
2025-05-25.20-02-19.mp4Demo |
|
hey @nwg-piotr could you review it please? |
nwg-piotr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What did you do to the -w | --workspaces_path argument?
Traceback (most recent call last):
File "/home/piotr/Clones/nwg-displays/nwg_displays/main.py", line 1517, in <module>
sys.exit(main())
~~~~^^
File "/home/piotr/Clones/nwg-displays/nwg_displays/main.py", line 1200, in main
workspaces_path = args.workspaces_path
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'workspaces_path'
|
oopsie daisy |
|
restored it |
|
Looks not bad, but seems to be buggy. This is my setup: I saved my old configuration to the 'dom-stary' profile. Then I rotated HDMI-A-1 270 degrees (instead of 90) and saved it as the 'dom-bledny' profile. Now when I load the 'dom-bledny' profile, HDMI-A-1 appears over eDP-1 (the same place, dimensions, rotation etc.). Meanwhile what's stored in {
"name": "HDMI-A-1",
"description": "AOC 2475WR F17H4QA000449",
"x": 0,
"y": 0,
"physical_width": 1920,
"physical_height": 1200,
"transform": "270",
"scale": 1.0,
"scale_filter": null,
"refresh": 59.95,
"dpms": true,
"adaptive_sync": false,
"custom_mode": false,
"mirror": "",
"ten_bit": false,
"active": true
}Looks as if it assigned eDP-1 data to HDMI-A-1 as well, instead of its proper data. |


No description provided.