Configuration of X11 i3wm tty

This commit is contained in:
2024-07-12 21:16:28 +02:00
parent 7e15fbad29
commit 616255d2c4
29 changed files with 907 additions and 7 deletions

18
tty/deploy.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
HOSTNAME="ArchTest"
#Switch to the script directory
_BASENAME=$(basename "$0")
cd "$(dirname "$0")" || _exit 1
cp issue /etc/issue
cp inputrc /etc/inputrc
cp bash.bashrc /etc/bash.bashrc
cp bash.bashaliases /etc/bash.bashaliases
cp bash.bashexport /etc/bash.bashexport
mkdir -p /etc/systemd/system/getty@tty1.service.d/
cp autologin.conf /etc/systemd/system/getty@tty1.service.d/override.conf
printf "%s\n" "$HOSTNAME" > /etc/hostname
sed -i "s|^PRETTY_NAME.*|PRETTY_NAME=\"$HOSTNAME\"|" /etc/os-release