PinePhoneBoyOS/README.md

71 lines
2.2 KiB
Markdown
Raw Normal View History

# PinePhoneBoy Operating System
Linux UI customized to resemble a Fallout Pip-Boy. To be used with the PINE64 PinePhone running Arch Linux ARM, enclosed in the PinePhoneBoy harness.
2021-01-04 22:36:24 +00:00
## Screenshots
### Radio tab
![Radio](screenshots/radio.jpg)
## Components
- sway: Window Manager
- waybar: Side panel
- termite: Terminal emulator
- mako: Notifications daemon
2021-01-04 22:42:01 +00:00
- mpd: Music player daemon
- xfmpc: Music player client
## Dependencies
- [Sway on PinePhone](https://github.com/Dejvino/pinephone-sway-poc)
- [feather icons](https://github.com/feathericons/feather)
## Install
```bash
2021-01-04 22:32:26 +00:00
git clone --recurse-submodules https://git.dejvino.cz/dejvino/PinePhoneBoyOS
cd PinePhoneBoyOS
./convert_icons.sh
...
2021-01-05 21:31:20 +00:00
```
2021-01-04 22:32:26 +00:00
2021-01-05 21:31:20 +00:00
### Theme
```bash
2021-01-04 22:32:26 +00:00
git clone https://github.com/i-mint/midnight
mkdir -p ~/.themes
cp -R midnight/Midnight* ~/.themes/
gsettings set org.gnome.desktop.interface gtk-theme "Midnight-GreenNight"
gsettings set org.gnome.desktop.wm.preferences theme "Midnight-GreenNight"
2021-01-05 21:31:20 +00:00
git clone -b Abyss-Desktop-Theme-Icons-and-Folders https://github.com/rtlewis88/rtl88-Themes
cp -R rtl88-Themes/Abyss-ENVY-Suru ~/.icons/Abyss-ENVY
gsettings set org.gnome.desktop.interface icon-theme "Abyss-ENVY"
```
2021-01-05 21:31:20 +00:00
### Bootsplash
1. Find an image you want shown during boot (see [example](https://techgage.com/wp-content/uploads/2015/11/Fallout-4-Pip-Boy-App-Android-Logo.jpg))
2. Clone the [bootsplash package](https://github.com/dreemurrs-embedded/Pine64-Arch/tree/master/PKGBUILDS/danctnix/bootsplash-danctnix), replace the image and profit!
```bash
git clone https://github.com/dreemurrs-embedded/Pine64-Arch
cd PKGBUILDS/danctnix/bootsplash-danctnix
# change the sha256sum for danctnix.png to 'SKIP'
vim PKGBUILD
# download your image
wget some-image-url -O bootsplash.jpg
# rotate it to face the right way up
convert bootspalsh.jpg -distort SRT -90 danctnix.png
# install!
makepkg -sif
# reboot to see it during the next startup
```
2021-01-05 21:46:54 +00:00
### Radio - MPD
Packages: mpd xfmpc mpc
```bash
mkdir -p ~/.config/mpd/playlists
```
2021-01-04 22:32:26 +00:00
## Notes
- make sure mpd is running user-wide and not system-wide, otherwise it can't access alsa or pulseaudio (i.e. create ~/.config/mpd/mpd.conf)