-
Notifications
You must be signed in to change notification settings - Fork 267
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
Supporting multiple monitors #162
Conversation
Hey I have updated my system and magically all the bugs disappeared, I am really confused on why and how they did, but it seems to be some backend bugs or so ( I uninstalled swaylock, maybe they are related?) |
As a side note I noticed that there are 2 calls to "swww query" which on multi-monitors setup will return one line per monitor. In the end toggling between light and dark will fail. I patched those 2 calls (in generate_colors_material.py and switchwall.sh) by adding "| tail -n 1" at the end to fix it. It's fine with me because I use the same wallpaper on both monitors. |
About this PR
Wallpaper
|
By "worked" I mean it runs normally on my single-monitor system |
Thank you for helping multi monitor systems users, and sorry for not responding sooner, for some reason, latest branch works flawlessly in single monitor. But in multiple monitors system, it crashes within a millisecond after starting and gives this error:
I will update what might be the cause but I might need sometime to test every change to debug what is the cause |
d083a39
to
f881620
Compare
Hey sorry I might have made a mistake and closed it.. anyways here are my points
Forgive my unfamiliarity, but I really do not think this is necessary at all:
as it was actually breaking the hyprland workspace widget on the second monitor, is it required to run ags on sway or something like that? |
yea like i said i have to change stuff from instances to callbacks which i haven't
i tried to add sway compatibility. with this kind of try-catch, the setup shouldn't crash if ran on sway |
5c6b783
to
58341be
Compare
Ok I finally made a normal PR, can you check it please?
The problem is that it is breaking the hyprland widget in the second monitor, I tried to solve it but couldn't make anything work other than importing at the top |
I do understand your point, however I also think that 2 WMs together could be a good way to switch between "performance or power-saving mode" (sway) and "nice-GUI mode" (hyprland).
Maybe we could use another minimal and lightweight bar for sway, and at the same time we still use ags for hyprland, with no need to consider its capability for sway. |
sway compatibility
another bar for sway
|
Just in case, have you been using sway? If not, then let me friendly notice you that sway actually does not support animation. And I also wonder why you want two different WMs together then, if not for switchable lightweight-ness. |
|
Thank you for submitting the PR. The Please target this PR to the Refer to https://stackoverflow.com/questions/24159036/how-to-modify-a-pull-request-on-github-to-change-target-branch-to-merge-into for instruction. |
…ace navigation Answering the end-4#162 support for multiple monitors
First this is my first JS contribution so I will definitely appreciate any help
This is simple tinkering that should not affect single monitor users, What makes me a little troubled is my unfamiliarity with JS and there are some random errors are thrown (although even #Aylur/dotfiles show them so I supposed that it is normal to see those, either due to errors in my device or that they do not cause any side effects such as ram drainage or freezing)
The real problem I am facing is that indicator's widget is not working, tried to make it work on multiple monitors but without avail. I appreciate any help with that, even so, the problem will only be that the widget will appear in monitor 0 but can be controlled from other monitors