-
Notifications
You must be signed in to change notification settings - Fork 0
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
Installation #1
Comments
Hello! Thanks a lot for opening the issue!! I agree this is an issue and I've been thinking about it for while. What I habe in mind is something similar to i3blocks which is to add a config file that reads each component, builds the code for each entry, and runs them as usual. If anyone has a suggestion or wants to help, I'd be more than glad to talk to them. Anyway, for now, you need to have go (golang) installed and build each go component inside You then need to modify each entry starting from https://github.com/aonemd/onpar/blob/master/onpar.go#L36 and add the proper path to each component under batteryLevel := NewComponent("/home/aonemd/Workspace/onpar/components/battery_level", 2) You need to do this for all existing components as well as for any other component you may want to add (you can add components in any language you want by the way. There's already already one component written in zsh). After you're done, you need to build to main par component using Now you can just run the binary The final step would be to add the path to this /home/aonemd/Workspace/onpar/onpar & That's it. You don't need to change anything in your dwm config at all. |
OMG man!!! That was my problem! I didn't |
|
even if i put full path |
Hello again! Yeah I probably should rewrite the installation instructions in the README :D Anyway, you need to use the full path to each component starting with the root path i.e., |
Now I just get an exit 127. I am using the fish shell to just try to execute it. I'm scared to reboot with it in my . xinitrc cause last time I had to restore my computer |
I'm my vim editor, I get an error on line 80 of the onpar.go file. Where you execute the xsetroot. It's complaining about the .Run() at the end but it is not saying anything. Just highlighting it |
Actually I dont even know what is happening anymore LoL. I just really want to get this to work. Im so interested! This will top off my DWM install |
I'm not really sure why that happens. Can you run |
First off Genius!!! I been waiting for something like this, but I am way to noob to build something like it, for now at least. But my question is what is the easiest way to install this, and does it automatically overwrite the default bar or do I have to change my config.def.h and recompile. Im still gunna try to figure it out but any help would be appreciated.
The text was updated successfully, but these errors were encountered: