You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Dejvino b7521eca62 Add lisgd and rot8 support 3 years ago
home/config Add lisgd and rot8 support 3 years ago
lisgd @ 877beea273 Add lisgd and rot8 support 3 years ago
patches Add lisgd and rot8 support 3 years ago
pinephone-toolkit @ 51b6fa81ab Fix minimal backlight value 3 years ago
rot8 @ 8f2128c172 Add lisgd and rot8 support 3 years ago
usr Added pinephone-toolkit build. Extracted script for power sleep and wake. 3 years ago
.gitmodules Add lisgd and rot8 support 3 years ago
LICENSE Initial commit 3 years ago
Makefile Add lisgd and rot8 support 3 years ago
README.md Added kill button. Added launchers for CPU, MEM and Network status buttons. 3 years ago

README.md

pinephone-sway-poc

Sway UI configured for PINE64 PinePhone (Proof Of Concept)

You can find ready-made config files and installation instructions on how to set up Sway on postmarketOS and use it with a PinePhone.

TODO: insert a photo

Install

Start with a postmarketOS for PinePhone image with postmarketos-ui-sway installed. Either use the pre-built demo image or build a custom one with pmbootstrap.

Flash the system onto the phone (either to an SD card or directly to the eMMC with Jumpdrive).

Open a terminal on the phone (either through SSH, the serial connection or directly on the screen) and run this:

# components
$ sudo apk add waybar bemenu networkmanager

# build tools
$ sudo apk add git make waybar bemenu networkmanager

# installation
$ git clone https://github.com/Dejvino/pinephone-sway-poc
$ cd pinephone-sway-poc
$ make install_user
$ sudo make install_system

That’s it. You should now have everything in place. Reboot to use the new settings.

Usage

TODO: this.

Components

  • postmarketOS - base Linux distribution (though any other would work as well)
  • sway (pmos package) - tiling Wayland compositor
  • squeekboard (pmos package) - on-screen keyboard for Wayland
  • bemenu (pmos package) - app launcher
  • waybar (pmos package) - Wayland status bar
  • htop (pmos package) - Processes monitoring
  • sxmo-lisgd - gesture detection daemon
  • sxmo-utils - various utilities for the PinePhone

(pmos package = available as a package directly from the postmarketOS repository)