mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 04:32:12 +00:00
Merge pull request #619 from mstraube/pantheon
Term Font: Add support for Pantheon Terminal
This commit is contained in:
6
neofetch
6
neofetch
@@ -1648,6 +1648,12 @@ get_term_font() {
|
|||||||
term_font="$(awk -F '=' '!/^($|#)/ && /Font/ {printf $2; exit}' "${HOME}/.minttyrc")"
|
term_font="$(awk -F '=' '!/^($|#)/ && /Font/ {printf $2; exit}' "${HOME}/.minttyrc")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"pantheon"*)
|
||||||
|
term_font="$(gsettings get org.pantheon.terminal.settings font)"
|
||||||
|
[[ -z "${term_font//\'}" ]] && term_font="$(gsettings get org.gnome.desktop.interface monospace-font-name)"
|
||||||
|
term_font="$(trim_quotes "$term_font")"
|
||||||
|
;;
|
||||||
|
|
||||||
"sakura"*)
|
"sakura"*)
|
||||||
term_font="$(awk -F '=' '/^font=/ {a=$2} END{print a}' "${XDG_CONFIG_HOME}/sakura/sakura.conf")"
|
term_font="$(awk -F '=' '/^font=/ {a=$2} END{print a}' "${XDG_CONFIG_HOME}/sakura/sakura.conf")"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user