From 467c63befdf6e9d9c5628d816b6d1da3b1f07a50 Mon Sep 17 00:00:00 2001
From: Jack Sangdahl <0x6A73@pm.me>
Date: Sat, 2 Mar 2024 16:23:08 -0700
Subject: fixup css and more content
---
gentoo.html | 115 +++++++++++++++++++++++++++++++++++++++++++++++-------------
style.css | 20 ++++++++---
2 files changed, 106 insertions(+), 29 deletions(-)
diff --git a/gentoo.html b/gentoo.html
index 3933423..01544b4 100644
--- a/gentoo.html
+++ b/gentoo.html
@@ -2,22 +2,6 @@
Gentoo
-
Gentoo Linux on Macbook Air
@@ -26,11 +10,10 @@
initially bought as a tinkering project for $150USD. While this
is not the most powerful device, it is suitable for all the work
I encounter on a daily basis and is used as my primary system. My
- intentions for this system are reliability and speed above all.
- With this comes a minimal OS with very few kernel parameters
- set, extremely fine-tuned USE flags, and a usable system that I
- am extremely familiar with. All my configuration can be found on
- my github.
+ intentions for this system are reliability and speed most importantly.
+ With this comes a tidy OS with quite few kernel parameters set,
+ fine-tuned USE flags, and a usable system that I'm very familiar with.
+ All my configuration can be found on my Github.
Window Manager: Sway
+ To omit the need for a display manager and launch directly
+ from a tty, the XDG_RUNTIME_DIR variable needs
+ to be manually set in shell startup file (~/.zshrc)
+ Then to launch Sway, simply add the following as well.
+
+if test -z "${XDG_RUNTIME_DIR}"; then
+ export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
+ if ! test -d "${XDG_RUNTIME_DIR}"; then
+ mkdir "${XDG_RUNTIME_DIR}"
+ chmod 0700 "${XDG_RUNTIME_DIR}"
+ fi
+fi
+
+if [ "$(tty)" = "/dev/tty1" ]; then
+ exec dbus-run-session sway
+fi
+
Bar: Waybar
@@ -216,19 +217,66 @@ ACCEPT_KEYWORDS="~amd64"
Launcher: Wofi
- Notifications: Mako
+ Notifications: Mako
+ Requires x11-libs/libnotify and to be manually
+ launched via Sway configuration.
- Keyboard Manager: Keyd
+ Keyboard Manager: Keyd
+ For many months, I used KMonad,
+ which was suitable for most of what I needed, but lacked a couple
+ things, namely key combos. I stumbled across Keyd which to my
+ surprise did in fact support combos. The configuration syntax
+ is also incredibly simple. After creating an OpenRC service
+ script, it was ready for use. Putting this here as I'm sure
+ I'll need to reference it sometime in the future.
+
+ Another QOL modification for me was disabling the rather obnoxious
+ startup sound present on all Macbooks. To do this, kernel must be
+ built with efivarfs support (CONFIG_EFIVAR_FS) and the
+ partition must be mounted at /sys/firmware/efi/efivars/.
+ Next, the following commands must be run as proper root, not just
+ with elevated permissions. Begin by removing the immutable flag from
+ the appropriate file. Mac's EFI terminal uses the bell code (0x07)
+ to audibly play system messages/warnings. It can be set to null character
+ to silence it. Lastly, replace the immutable flag.
+