From e0338d824fdb93cbf20621a8bff0fd0690544ad9 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 7 May 2025 23:38:51 -0500 Subject: getting wayland and sway to work --- root_scripts/sleep_config.sh | 4 ++-- root_scripts/wayland_config.sh | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'root_scripts') diff --git a/root_scripts/sleep_config.sh b/root_scripts/sleep_config.sh index a7b4a1d..7fc8611 100755 --- a/root_scripts/sleep_config.sh +++ b/root_scripts/sleep_config.sh @@ -11,11 +11,11 @@ pkg install -y drm-515-kmod # update sysctl.conf -sysrc -f /etc/sysctl.conf hw.acpi.lid_switch_state=S3 +echo "hw.acpi.lid_switch_state=S3" >> /etc/sysctl.conf # update rc.conf sysrc kld_list="i915kms" # ensure you and root are in the video group -pw groupmod video -M cjennings,root +pw groupmod video -m cjennings,root diff --git a/root_scripts/wayland_config.sh b/root_scripts/wayland_config.sh index 210fea3..f845bae 100755 --- a/root_scripts/wayland_config.sh +++ b/root_scripts/wayland_config.sh @@ -1,5 +1,10 @@ #!/bin/sh # Craig Jennings -pkg install -y sway swayidle swaylock-effects foot fuzzel +pkg install -y wayland seatd sway swayidle swaylock-effects foot fuzzel +# add XDG RUNTIME to .profile +echo "export XDG_RUNTIME_DIR=/var/run/user/`id -u`" >> /root/.profile + +sysrc seatd_enable="YES" +service seatd start -- cgit v1.2.3