mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00

* Working concept with SDDM * Working concept without SDDM dep * Working concept w/o SDDM and w/ UWSM * Cleanup and UWSM tweaks * Cleanup * Remove call to seamless-login.sh * Don't allow the progress to go backwards * Add refresh to migration
35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
# Copy over Omarchy configs
|
|
cp -R ~/.local/share/omarchy/config/* ~/.config/
|
|
|
|
# Ensure application directory exists for update-desktop-database
|
|
mkdir -p ~/.local/share/applications
|
|
|
|
# Use default bashrc from Omarchy
|
|
echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc
|
|
|
|
# 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
|
|
git config --global init.defaultBranch master
|
|
|
|
# Set identification from install inputs
|
|
if [[ -n "${OMARCHY_USER_NAME//[[:space:]]/}" ]]; then
|
|
git config --global user.name "$OMARCHY_USER_NAME"
|
|
fi
|
|
|
|
if [[ -n "${OMARCHY_USER_EMAIL//[[:space:]]/}" ]]; then
|
|
git config --global user.email "$OMARCHY_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> : "$OMARCHY_USER_NAME"
|
|
<Multi_key> <space> <e> : "$OMARCHY_USER_EMAIL"
|
|
EOF
|