My Pinephone Pro setup. It contains configuration scripts for BSPWM, SXHKD, PolyBar, and SXMO. This works for me, but may not work for you.
Go to file
2022-06-28 06:32:02 -05:00
.config Actually add wireless.sh 2022-06-28 06:32:02 -05:00
xsessions Actually add wireless.sh 2022-06-28 06:32:02 -05:00
.Xresources Actually add wireless.sh 2022-06-28 06:32:02 -05:00
README.md Add instructions and simplify locations of some scripts. 2022-06-20 03:51:53 -05:00

BSPWM and SXMO Pinephone Pro Setup

What does it do?

Here is a noncomprehensive list of what these files do:

  • Start BSPWM with Picom using a near-stock SXMO xinit script
  • Add SXHKD bindings for SXMO power, volume up, and volume down keys.
  • Modified SXHKD bindings to not use the super key (which is impossible with the PinePhone Keyboard).
    • Uses the ALT key instead, for the most part (ALT+ENTER for terminal, ALT+0-9 for desktop switching, etc).
      • Please refer to the sxhkdrc file for all bindings!
  • Adds a neat Polybar I customized myself. Based around this setup.
    • Custom battery module that is capable of monitoring the status of both the on-board battery and keyboard battery, if applicable.
      • Will currently show ! N/A if you don't have a keyboard equipped. I'll make it hide this soon™.
    • A custom module that displays the current status of SXMO (unlocked, lock, etc).
    • The rest of the modules were either from altrgeek or ships with Polybar.

Usage

This assumes you already have SXMO, BSPWM, and LightDM installed. DO THAT NOW!!!

  1. Copy the bspwm.desktop file to /usr/share/xsessions/
  2. Copy all scripts in the bin folder to /usr/bin/. MAKE SURE THEY ARE EXECUTABLE!
  3. Copy all files in the config to ~/.config/.
  • Don't do it blindly, though. If you have your own pre-existing configurations, you should try to merge them yourself.
  • MAKE SURE THE SCRIPTS IN ~/.config/polybar/scripts/ ARE EXECUTABLE!

It doesn't work on my system!

Leave an issue. Perhaps together, we can find the right batteries to include. I thought it was AA's though.

My system uses Manjaro, but I recommend Arch for this.

Known issues

  • The files aren't very well documented.