(08-18-2017, 10:13 AM)n3rDy Wrote: That's great k_mp, thanks for the hard work on this. I haven't been able to spend any time working on this lately, so I am currently using Mate. I would really like to use the PB as my daily driver with i3, the next challenge would be standby when the lid is closed.
Where should this shell script be located once I download it? Once I run the script, will it always run? Or does it need to be called on startup or as a cron job?
No worries n3rDy. You just need to download the script and copy it to ~/.config/i3. Then edit your i3 config file, which is also located at ~/.config/i3 and add the script path and name in front of status_command under bar { section. You can refer to this sample configuration as well: https://github.com/kasramp/PinebookScrip.../i3/config
Once you have done with the changes, just save it and then press Mod + Shift + r, you should be able to see the battery status in the left side in a second or two.
To get rid of the non-functional battery status of i3, edit the file at /etc/i3status.conf and comment order += "battery 0" line.
And yes the script is running automatically and doesn't require any cron job.
(08-18-2017, 12:05 PM)daid Wrote: I'm using AwesomeWM instead of i3, but the problems are sort of the same. I've archived my custom configuration for awesomewm at https://github.com/daid/awesome-pinebook
It contains key bindings for stuff like suspend and screen brightness. Maybe it's useful for i3 configuration as well?
Awesome work daid, thanks for sharing