User-level files (~/.config, ~/.local/share, ~/.agents, etc.) shouldn't
be written by install.sh — it runs as root or with system-level sudo,
and in offline (ISO chroot) mode the user doesn't exist yet. Moved into
a per-user idempotent command, called from omarchy-first-run.
Moved into bin/omarchy-setup-user (deleted from install/config/):
- omarchy-ai-skill.sh AI skill symlinks
- omarchy-toggles.sh hypr toggle flags
- nautilus-python.sh nautilus extensions
- branding.sh ~/.config/omarchy/branding/{about,screensaver}.txt
- user-dirs.sh xdg-user-dirs-update + gtk bookmarks
- detect-keyboard-layout.sh layout/variant sed into ~/.config/hypr/input.lua
- toggles.sh ~/.local/state/omarchy/toggles mkdir
- mimetypes.sh omarchy-refresh-applications + xdg-mime/xdg-settings
Kept in install/config/ (rely on OMARCHY_USER_NAME / OMARCHY_USER_EMAIL
that only exist during install):
- git.sh git config --global user.{name,email}
- xcompose.sh ~/.XCompose with name/email substituted
omarchy-setup-user:
- Refuses to run as root
- Idempotent via ~/.local/state/omarchy/setup-user.done marker
- --force escape hatch for re-running after dev-link or upstream changes
- Defaults OMARCHY_PATH to /usr/share/omarchy so it works outside install
bin/omarchy-first-run now invokes omarchy-setup-user unconditionally
(it self-gates), so first user login picks up the user setup.
install/config/all.sh: dropped the eight deleted entries.
All three packages (omarchy, omarchy-settings, omarchy-installer) still
build clean.
60 lines
3.0 KiB
Bash
60 lines
3.0 KiB
Bash
run_logged $OMARCHY_INSTALL/config/theme.sh
|
|
run_logged $OMARCHY_INSTALL/config/git.sh
|
|
run_logged $OMARCHY_INSTALL/config/gpg.sh
|
|
run_logged $OMARCHY_INSTALL/config/increase-lockout-limit.sh
|
|
run_logged $OMARCHY_INSTALL/config/lockscreen-pam.sh
|
|
run_logged $OMARCHY_INSTALL/config/sleep-lock.sh
|
|
run_logged $OMARCHY_INSTALL/config/increase-file-watchers.sh
|
|
run_logged $OMARCHY_INSTALL/config/increase-fd-limit.sh
|
|
run_logged $OMARCHY_INSTALL/config/xcompose.sh
|
|
run_logged $OMARCHY_INSTALL/config/mise-work.sh
|
|
run_logged $OMARCHY_INSTALL/config/fix-powerprofilesctl-shebang.sh
|
|
run_logged $OMARCHY_INSTALL/config/docker.sh
|
|
run_logged $OMARCHY_INSTALL/config/localdb.sh
|
|
run_logged $OMARCHY_INSTALL/config/fast-shutdown.sh
|
|
run_logged $OMARCHY_INSTALL/config/input-group.sh
|
|
run_logged $OMARCHY_INSTALL/config/pi.sh
|
|
run_logged $OMARCHY_INSTALL/config/powerprofilesctl-rules.sh
|
|
run_logged $OMARCHY_INSTALL/config/wifi-powersave-rules.sh
|
|
|
|
# Service enables centralized; run after all drop-in files are in place.
|
|
run_logged $OMARCHY_INSTALL/config/enable-services.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/network.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/set-wireless-regdom.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/bluetooth.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/nvidia.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/vulkan.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/video-acceleration.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/lpmd.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/thermald.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/ipu7-camera.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/ptl-kernel.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/fred.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/fix-wifi7-eht.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/sof-firmware.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-asus-ptl-display-backlight.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-asus-ptl-b9406-display.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-asus-ptl-b9406-touchpad.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-audio-mixer.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-mic.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-z13-touchpad.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/framework/fix-f13-amd-audio-input.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/framework/qmk-hid.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/apple/fix-spi-keyboard.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/apple/fix-suspend-nvme.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/apple/fix-t2.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/lenovo/fix-yoga-pro7-bass-speakers.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-bcm43xx.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-surface-keyboard.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-yt6801-ethernet-adapter.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-synaptic-touchpad.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-tuxedo-backlight.sh
|