2025-06-02 10:22:28 +02:00
|
|
|
# Copy over Omarchy configs
|
|
|
|
cp -R ~/.local/share/omarchy/config/* ~/.config/
|
|
|
|
|
2025-06-09 12:26:39 +02:00
|
|
|
# Copy over Omarchy applications
|
2025-06-25 12:02:40 -07:00
|
|
|
source ~/.local/share/omarchy/bin/omarchy-sync-applications
|
2025-06-09 12:26:39 +02:00
|
|
|
|
2025-06-02 10:22:28 +02:00
|
|
|
# Use default bashrc from Omarchy
|
|
|
|
echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc
|
2025-06-02 20:56:40 +02:00
|
|
|
|
2025-06-02 21:22:23 +02:00
|
|
|
# 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
|
2025-06-02 21:13:51 +02:00
|
|
|
|
2025-06-25 12:50:04 -07:00
|
|
|
# Add lib32 for pacman so we can install steam
|
|
|
|
sudo sed -i '/^\s*#\[multilib\]/,/^$/{s/^\s*#//}' /etc/pacman.conf
|
|
|
|
|
2025-06-02 20:56:40 +02:00
|
|
|
# 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
|
2025-06-16 12:37:30 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2025-06-24 14:07:50 -07:00
|
|
|
# Set default XCompose that is triggered with CapsLock
|
2025-06-16 12:37:30 +02:00
|
|
|
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
|