diff options
Diffstat (limited to 'root_scripts')
| -rwxr-xr-x | root_scripts/sleep_config.sh | 4 | ||||
| -rwxr-xr-x | root_scripts/wayland_config.sh | 7 |
2 files changed, 8 insertions, 3 deletions
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 <c@cjennings.net> -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 |
