Wallpaper and README

This commit is contained in:
Out Of Ideas 2024-03-04 16:03:28 -06:00
parent 2adcfbcf3f
commit 64e160ab08
3 changed files with 89 additions and 2 deletions

89
README Normal file
View file

@ -0,0 +1,89 @@
Mirror=https://dl-cdn.alpinelinux.org/alpine/edge/main/
Window Manager: River
Text editor: vis
WWW Client: Lynx
Terminal Emulator: Foot
Launcher: tofi
Bar: Yambar
Shell: ASH
Font: Mononoki Nerd Font
Set up repositories
vi /etc/repositories
The file should read:
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing
Update and upgrade
apk update && update
Set up eudev
setup-devd udev
Install the mesa-gallium drivers
apk add mesa-dri-gallium
Install River documentation (optional)
apk river-doc
Install River
Option 1: From APK
apk add river
apk add xwayland (optional)
Option 2: From source (Not working)
Install packages that will be used to build river
apk add git zig pkgconfig
Install river dependencies
apk add wayland wayland-dev wayland-protocols wlroots wlroots-dev libxkbcommon libxkbcommon-dev libevdev libevdev-dev pixman pixman-dev
Clone river
mkdir /home/<user>/.Git
cd /home/<user>/.Git
git clone https://github.com/riverwm/river.git
git submodule update --init
Revert to the latest version
git reset --hard v0.2.6
Build river
zig build -Doptimize=ReleaseSafe --prefix /usr/local/bin install
Remove unneded packages (optional)
apk del git zig pkgconfig
Install Foot
apk add foot
Start the seat daemon
rc-update add seatd
rc-service seatd start
Add the user to the nessessary groups
adduser <user> seat
adduser <user> input
adduser <user> video
Copy the sample config into the config directory
install -Dm0755 /usr/share/doc/river/examples/init -t /home/<user>/.config/river
Now edit the /home/<user>/.profile to read the following
XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir"
mkdir -pm 0700 "$XDG_RUNTIME_DIR"
export XDG_RUNTIME_DIR
Now install the nessessary packages to enter a GUI session
apk add xwayland... still unsure what deps are mising
Install packages
apk add lynx vis tofi yambar imv wlr-randr wbg
Install a font
apk add font-mononoki-nerd
Now give the user ownership of the files
chown <user>:<user> /home/<user>/.profile /home/<user>/.Git /home/<user/.config
Now logout of root. Login as the user.
Create the config directory for foot
mkdir -p ~/.config/foot/
Enter the directory, and edit the file
cd ~/.config/foot
vis foot.ini
It should read:
[main]
pad=10x10
font=Mononoki Nerd Font Mono:size=11
font-bold=Mononoki Nerd Font Mono:size=11:weight=bold
font-italic=Mononoki Nerd Font Mono:size=11:stant=italic
font-bold-italic=Mononoki Nerd Font Mono:size=11:weight=bold:slant=italic
river

View file

@ -1,2 +0,0 @@
# minimal-but-usable

BIN
Wallpapers/wallpaper.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB