Files
omarchy/install/4-config.sh
David Heinemeier Hansson da35e7747d Something else is preventing steam from running right now
So remove this for now
2025-06-26 14:00:36 -07:00

39 lines
1.2 KiB
Bash

# Copy over Omarchy configs
cp -R ~/.local/share/omarchy/config/* ~/.config/
# Use default bashrc from Omarchy
echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc
# Login directly as user, rely on disk encryption + hyprlock for security
sudo mkdir -p /etc/systemd/system/getty@tty1.service.d
sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf >/dev/null <<EOF
[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --autologin $USER --noclear %I \$TERM
EOF
# Set common git aliases
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
git config --global pull.rebase true
# Set identification from install inputs
if [[ -n "${OMAKUB_USER_NAME//[[:space:]]/}" ]]; then
git config --global user.name "$OMAKUB_USER_NAME"
fi
if [[ -n "${OMAKUB_USER_EMAIL//[[:space:]]/}" ]]; then
git config --global user.email "$OMAKUB_USER_EMAIL"
fi
# Set default XCompose that is triggered with CapsLock
tee ~/.XCompose >/dev/null <<EOF
include "%H/.local/share/omarchy/default/xcompose"
# Identification
<Multi_key> <space> <n> : "$OMAKUB_USER_NAME"
<Multi_key> <space> <e> : "$OMAKUB_USER_EMAIL"
EOF