Hyprland-dotfiles/scripts/fontsearch.sh

17 lines
536 B
Bash
Raw Normal View History

2023-03-09 03:25:31 -05:00
#!/bin/bash
2023-03-02 03:45:31 -05:00
# _____ _ _
# | ___|__ _ __ | |_ ___ ___ __ _ _ __ ___| |__
# | |_ / _ \| '_ \| __/ __|/ _ \/ _` | '__/ __| '_ \
# | _| (_) | | | | |_\__ \ __/ (_| | | | (__| | | |
# |_| \___/|_| |_|\__|___/\___|\__,_|_| \___|_| |_|
#
# by Stephan Raabe (2023)
2023-03-09 03:25:31 -05:00
# -----------------------------------------------------
2023-03-02 03:45:31 -05:00
#
2023-02-15 10:56:08 -05:00
fc-list \
| grep -ioE ": [^:]*$1[^:]+:" \
| sed -E 's/(^: |:)//g' \
| tr , \\n \
| sort \
| uniq