Add documentation to Omarchy commands

This commit is contained in:
David Heinemeier Hansson
2026-01-05 10:17:32 +01:00
parent 3801e0e633
commit ca40676657
78 changed files with 192 additions and 10 deletions

View File

@@ -1,8 +1,11 @@
#!/bin/bash
# Set the system-wide monospace font that should be used by the terminal, hyprlock, waybar, swayosd, etc.
# The font name must be one of the ones returned by omarchy-font-list.
font_name="$1"
if [[ -n "$font_name" && "$font_name" != "CNCLD" ]]; then
if [[ -n "$font_name" ]]; then
if fc-list | grep -iq "$font_name"; then
if [[ -f ~/.config/alacritty/alacritty.toml ]]; then
sed -i "s/family = \".*\"/family = \"$font_name\"/g" ~/.config/alacritty/alacritty.toml