/ de-omarchy / bin / omarchy-font-current
swadhinbiswas Initial de-omarchy: Omarchy UI layer for Arch-based distros · 8/22/2026
9f393b2
10 lines · 323 Bytes
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# omarchy:summary=Show current monospace font
# omarchy:examples=omarchy font current

# fontconfig is the source of truth. fc-match returns a comma-separated
# alias list (e.g. "JetBrainsMono Nerd Font,JetBrainsMono NF") so take
# the first entry.
fc-match monospace -f '%{family}\n' | head -n1 | cut -d, -f1