From aa401850583d1199dc2853b28c3c19b237dc1b46 Mon Sep 17 00:00:00 2001 From: jwihardi <84292598+jwihardi@users.noreply.github.com> Date: Sun, 5 Oct 2025 18:29:46 -0400 Subject: [PATCH] Update README with tty1 service start instructions Added instructions for starting services after logging into tty1 using Fish shell. --- dist-gentoo/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/dist-gentoo/README.md b/dist-gentoo/README.md index 9a48e1335..2b42f6d62 100644 --- a/dist-gentoo/README.md +++ b/dist-gentoo/README.md @@ -22,3 +22,20 @@ ## Making the dot-files work - pipewire, pipewire-pulse, and wireplumber must be started after a dbus-session is created and before Hyprland is launched. +If you want to start after logging into tty1 you can do something like this. +```fish +if status --is-interactive; and [ (tty) = "/dev/tty1" ] + # Start DBus session if not running + if not set -q DBUS_SESSION_BUS_ADDRESS + dbus-launch --sh-syntax | sed 's/^/set -gx /; s/=/ /' | source + end + + # Start PipeWire if not running + pgrep -x pipewire >/dev/null; or pipewire & + pgrep -x pipewire-pulse >/dev/null; or pipewire-pulse & + pgrep -x wireplumber >/dev/null; or wireplumber & + + # Launch Hyprland with DBus session + exec Hyprland +end +```