Initial commit.

This commit is contained in:
cyteen 2026-03-16 00:54:43 +00:00
parent ac05262eba
commit eba4a86db4
1 changed files with 31 additions and 0 deletions

31
hyprland/020_seatd.sh Normal file
View File

@ -0,0 +1,31 @@
#!/usr/bin/bash
DEST=${1:-/etc/skel}
# Moving away from all things and all peaple 'systemd'
#
sudo apt remove elogind
sudo apt update
sudo apt install seatd
sudo rc-update add seatd default
sudo rc-service seatd start
sudo gpasswd -a "$USER" video
sudo gpasswd -a "$USER" input
sudo gpasswd -a "$USER" _seatd # Devuan's seatd group name may vary
conf_print_seatd_zsh() {
cat << EOF
export SEAT_DAEMON=seatd
export SEATD_SOCK=/run/seatd.sock
EOF
}
conf_print_seatd_zsh | "${DEST}/.zshrc.d/003_seatd.zsh"
# openrc
if [[ $(command -v openrc) ]]; then
sudo rc-service elogind stop
sudo rc-update del elogind default
fi