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

* Add override to only require one network interface online * refactor: extensible, evenly spaced waybar style.css - Use @define-color directive to define colour variables for each theme (@foreground for text, @background for background-color) - apply the colour variables in the main theme config, making it more extensible - make waybar elements more evenly spaced with consistent margin and padding values - add migration to apply the above changes to existing users * Update style.css better pixel spacing --------- Co-authored-by: Ryan Hughes <1630358+ryanrhughes@users.noreply.github.com> Co-authored-by: David Heinemeier Hansson <david@hey.com>
17 lines
745 B
Bash
17 lines
745 B
Bash
# Install iwd explicitly if it wasn't included in archinstall
|
|
# This can happen if archinstall used ethernet
|
|
if ! command -v iwd &>/dev/null; then
|
|
yay -S --noconfirm --needed iwd
|
|
sudo systemctl enable --now iwd.service
|
|
fi
|
|
|
|
# Fix systemd-networkd-wait-online timeout for multiple interfaces
|
|
# Wait for any interface to be online rather than all interfaces
|
|
# https://wiki.archlinux.org/title/Systemd-networkd#Multiple_interfaces_that_are_not_connected_all_the_time
|
|
sudo mkdir -p /etc/systemd/system/systemd-networkd-wait-online.service.d
|
|
sudo tee /etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf >/dev/null <<EOF
|
|
[Service]
|
|
ExecStart=
|
|
ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any
|
|
EOF
|