mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Extensible, evenly spaced waybar styling (#156)
* 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>
This commit is contained in:
5
migrations/1752251002.sh
Normal file
5
migrations/1752251002.sh
Normal file
@ -0,0 +1,5 @@
|
||||
echo "Migrate to the modular, variable-based implementation of waybar style.css"
|
||||
if [ -L ~/.config/waybar/style.css ]; then
|
||||
rm ~/.config/waybar/style.css
|
||||
cp ~/.local/share/omarchy/config/waybar/style.css ~/.config/waybar/style.css
|
||||
fi
|
7
migrations/1752365998.sh
Normal file
7
migrations/1752365998.sh
Normal file
@ -0,0 +1,7 @@
|
||||
echo "Add override to only require one network interface to be online"
|
||||
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
|
Reference in New Issue
Block a user