1
0
mirror of https://github.com/Dejvino/pinephone-sway-poc.git synced 2024-11-21 21:42:35 +00:00
Go to file
2020-05-26 20:16:26 +02:00
home/config Readme + base configs for sway, waybar, lightdm 2020-05-26 20:16:26 +02:00
usr/share/wayland-sessions Readme + base configs for sway, waybar, lightdm 2020-05-26 20:16:26 +02:00
LICENSE Initial commit 2020-05-26 18:53:07 +02:00
Makefile Readme + base configs for sway, waybar, lightdm 2020-05-26 20:16:26 +02:00
README.md Readme + base configs for sway, waybar, lightdm 2020-05-26 20:16:26 +02:00

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 ** terminal.yaml - keyboard layout based on this improved version
  • bemenu (pmos package) - app launcher
  • waybar (pmos package) - Wayland status bar ** carlosdss22/dotfiles - styles used
  • sxmo-lisgd - gesture detection daemon
  • sxmo-utils - various utilities for the PinePhone

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