-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix issue #10 "No Icons after manually compiling (multiple issues)" #11
Conversation
@Samueru-sama, please checkout to 'fix/issue10' branch, compile and run (without integrating it in polybar). And run polybar without |
HI, sorry but I'm not sure what is the output of cargo run, you mean this? Without ixwindow running in polybar:
Also worth mentioning that this version compiles automatically when running the install script, I just tested that one just in case me manually building did something wrong but the result is the same, the icon is behind the bar still. |
No, I want to see the output of "cargo run". It should print window info to the terminal. I need to see it. |
Ok, there's an error at the end:
|
First move |
ixwindow.toml was always there. But I just repeated the test using the one from this branch and it still gives the same error. Also I'm sorry I did not understand what you meant at the end, I'm really bad at this. It is worth mentioning that my i3 session is started using startx instead of a display manager, maybe that could be the issue because just like how cargo run can't find the toml file I have to manually point ixwindow to its config file when running it. |
Okay, what is printed when you specify config?
|
|
Can I see your polycar config? (to be more specific, config of your bar, i.e. I don't need the definitions of modules) |
To enable ixwindow I just replace xwindow with ixwindow in the main bar. |
According to this: https://github.com/polybar/polybar/wiki, you should add to your config: override-redirect = true
wm-restack = i3 To be more specific, you need Let me know how that works out for you. |
In order to have the desired behaviour, I would have to check if polybar was generated with The reason we need to deal with this is recent update: I want icon to be under the floating windows, for example, when I hover them over icon ... And I value this feature much more, than not forcing |
And if that solves the problem for you, then answer the following: why you are not satisfied with the positioning of the icon? (write desired behavior and actual behavior) |
Alright that way it 'works' but now i3 is not reserving space for the window, meaning that there is no gap between polybar and the window: |
About gap between polybar and windows: I think you can do it in i3 configuration. There was thing called |
About icon position: again, draw, where you want icon to be displayed ... On the right of your module? (right now it is displayed on the left). I mean, run ixwindow (so I can see how it is displayed on your system). And draw on the same picture desired place for the icon |
Or, alternatively, just use version of |
My gaps are already set, setting override-redirect = true prevents i3 from adding gap to the bar, and wm-restack = i3 doesn't help.
Right next to the window title, here: That position changes depending on the number of workspaces active among several other things, just in case I'm not requesting for that to be fixed, I realized that it wouldn't work on my setup after i managed to get it display the icon. |
About polybar gap -- I already said that I have no interest in fixing this bug, because it would require some time and am I not really interested in this right now, since I am not even using i3wm for that matter. And it seems for me that it's just easier to get it working via About icon position: it is possible to fix it without much of a headache. But I think the problem with the image you sent me is simply changing |
If certain options in polybar's bar config are not specified, bar can overlap the icon.
Okay, I am going to merge this PR due to most of the problems stated in the issue are resolved. If you want me to implement certain features, please open new issue. |
No description provided.