From b78932305a00a93042d390e3953507347d1fad01 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Wed, 16 Oct 2024 09:58:36 -0400 Subject: Include laptop and desktop variations, set Firefox as default browser, include desktop screenshot --- README.md | 58 ++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 14 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d3e3306..cfda37b 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,17 @@ # Open Suck -**Latest changes based off OpenBSD 7.5** +**Latest changes based off OpenBSD 7.6** Lightweight Desktop installer for OpenBSD based on the suckless philosophy. Includes my own custom set of suckless tools (dwm, slstatus, dmenu, etc.) -![Screenshot of dwm running on -OpenBSD](/screenshots/open-suck-75.png) +### Desktop Screenshot + +![Screenshot of dwm running on OpenBSD via desktop](/screenshots/open-suck-76.png) + +### Laptop Screenshot + +![Screenshot of dwm running on OpenBSD desktop](/screenshots/open-suck-75.png) Successfully installed on: @@ -21,7 +26,7 @@ The Open Suck installer gives you the absolute barebones desktop experience: - `dwm` for window management - `ranger` for your file browser -- `qutebrowser` as your core web browser +- `firefox` as your core web browser - `aerc` for your terminal-based mail client - `slock` for screen locking - `scrot`/`slop` for simple screenshot utilities @@ -38,6 +43,12 @@ The Open Suck installer gives you the absolute barebones desktop experience: permit nopass :wheel ``` +Also add your desired user to the `wheel` group: + +``` +usermod -G wheel bt +``` + Now logout and log back in as your main user. --- @@ -58,7 +69,23 @@ Clone the main installer project: ```sh cd open-suck # CD into this repository doas sh ./install-dependencies.sh # Install OpenBSD packages -doas sh ./install.sh # Install suckless tools +``` + +### Installing on a Laptop + +``` +doas sh ./install-laptop.sh +``` + +### Installing on a Desktop + +``` +doas sh ./install-desktop.sh +``` + +Copy over `.xinitrc`: + +``` cp .xinitrc ~/.xinitrc # Apply .xinitrc ``` @@ -72,7 +99,7 @@ startx ## Optimizing OpenBSD -### Improving Battery Performance +### Improving Battery Performance / Enabling Sleep Properly setup apmd: @@ -86,18 +113,21 @@ rcctl start apmd > The following assumes you have installed/setup the proper firmware updates for your hardware. +Create a new file `hostname.iwn0` (change the extensions to what is reported +via `ifconfig`) ``` -ifconfig iwn0 up -ifconfig iwn0 scan -echo "join WIFI-NAME wpakey PASSPHRASE" >> /etc/hostname.iwn0 -echo "dhcp" >> /etc/hostname.iwn0 -echo "inet6 autoconf" >> /etc/hostname.iwn0 -echo "up powersave" >> /etc/hostname.iwn0 -dhclient iwn0 +join WIFI-NAME wpakey PASSPHRASE +dhcp +inet6 autoconf +up powersave ``` -Take note of the `iwn0`, as this might differ on your machine. +Then run the following: + +``` +ifconfig iwn0 up +``` You might also need to run `doas sh /etc/netstart` after. -- cgit v1.2.3-54-g00ecf