mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
* No using custom chromium.desktop any more * Spacing * Rely on $OMARCHY_PATH * Add common pkg and cmd functions for use in migrations and elsewhere * Simple pkg-adds * Later migration does it * Ensure running migrations on older installs have the new pkg/cmds available * Spacing * Use new abstractions * Installed in later migration * Needless comment * Use new commands * Fix package name from 'batt' to 'bat'
33 lines
802 B
Bash
33 lines
802 B
Bash
echo "Add start burst limit to login"
|
|
|
|
if [ -f /etc/systemd/system/omarchy-seamless-login.service ]; then
|
|
cat <<EOF | sudo tee /etc/systemd/system/omarchy-seamless-login.service
|
|
[Unit]
|
|
Description=Omarchy Seamless Auto-Login
|
|
Documentation=https://github.com/basecamp/omarchy
|
|
Conflicts=getty@tty1.service
|
|
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service systemd-logind.service
|
|
PartOf=graphical.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/local/bin/seamless-login uwsm start -- hyprland.desktop
|
|
Restart=always
|
|
RestartSec=2
|
|
StartLimitIntervalSec=30
|
|
StartLimitBurst=2
|
|
User=$USER
|
|
TTYPath=/dev/tty1
|
|
TTYReset=yes
|
|
TTYVHangup=yes
|
|
TTYVTDisallocate=yes
|
|
StandardInput=tty
|
|
StandardOutput=journal
|
|
StandardError=journal+console
|
|
PAMName=login
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|
|
EOF
|
|
fi
|