summaryrefslogtreecommitdiffstats
path: root/bash_functions.d/list_x_fonts.sh
diff options
context:
space:
mode:
authorMatthew Lemon <chaffinach+git@protonmail.ch>2022-05-02 20:19:33 +0100
committerMatthew Lemon <chaffinach+git@protonmail.ch>2022-05-02 20:19:33 +0100
commit36d22ff490d1951937841bf9fb9727da410b43a5 (patch)
tree2788e75d5d39be6926c6b7be8bfdbbd623a8b7cc /bash_functions.d/list_x_fonts.sh
parent433757bf898f65009cb9d62497d7fda3e0a504a2 (diff)
adding some niceties for openbsd 2022
Diffstat (limited to 'bash_functions.d/list_x_fonts.sh')
-rw-r--r--bash_functions.d/list_x_fonts.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash_functions.d/list_x_fonts.sh b/bash_functions.d/list_x_fonts.sh
new file mode 100644
index 0000000..6c7804b
--- /dev/null
+++ b/bash_functions.d/list_x_fonts.sh
@@ -0,0 +1,5 @@
+#/bin/sh
+
+list_x_fonts() {
+ fc-list | cut -f2 -d: | sort -u |grep -i Mono
+}