Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

4 лет назад
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # pinephone-sway-poc
  2. Sway UI configured for PINE64 PinePhone (Proof Of Concept)
  3. You can find ready-made config files and installation instructions on how to set up Sway on postmarketOS and use it with a PinePhone.
  4. ![Screenshots](./screenshots.png)
  5. ## Install
  6. Start with a [postmarketOS](https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone)) for PinePhone image with `postmarketos-ui-sway` installed. Either use the pre-built demo image or build a custom one with `pmbootstrap`.
  7. Flash the system onto the phone (either to an SD card or directly to the eMMC with Jumpdrive).
  8. Open a terminal on the phone (either through SSH, the serial connection or directly on the screen) and run this:
  9. ```
  10. # components
  11. $ sudo apk add waybar bemenu swaylock swayidle networkmanager htop pavucontrol
  12. # build tools
  13. $ sudo apk add git make meson ninja
  14. # installation
  15. $ git clone --recurse-submodules https://github.com/Dejvino/pinephone-sway-poc
  16. $ cd pinephone-sway-poc
  17. $ make install_user
  18. $ sudo make install_system
  19. ```
  20. That's it. You should now have everything in place. Reboot to use the new settings.
  21. ## Usage
  22. **TODO: this.**
  23. ## Components
  24. * postmarketOS - base Linux distribution (though any other would work as well)
  25. * sway (pmos package) - tiling Wayland compositor
  26. * * swayidle, swaylock - utils for sway
  27. * bemenu (pmos package) - app launcher
  28. * waybar (pmos package) - Wayland status bar
  29. * * [carlosdss22/dotfiles](https://github.com/carlosdss22/dotfiles/tree/master/waybar) - styles used
  30. * squeekboard (pmos package) - on-screen keyboard for Wayland
  31. * * [terminal.yaml](https://source.puri.sm/btantau/squeekboard/blob/btantau-master-patch-76686/data/keyboards/terminal.yaml) - keyboard layout based on this improved version
  32. * [pinephone-toolkit](https://github.com/Dejvino/pinephone-toolkit) - various utilities for the PinePhone
  33. * [sxmo-lisgd](https://git.sr.ht/~mil/lisgd) - gesture detection daemon
  34. * htop (pmos package) - Processes monitoring
  35. * pavucontrol (pmos package) - PulseAudio control panel
  36. (*pmos package* = available as a package directly from the postmarketOS repository)