Info: Added function to display locale

master
Dylan Araps 9 years ago
parent 464a810f94
commit a6573119f9
  1. 1
      config/config
  2. 8
      neofetch

@ -37,6 +37,7 @@ print_info() {
# info "Public IP" public_ip
# info "Users" users
# info "Install Date" install_date
# info "Locale" locale
info line_break
info cols

@ -637,13 +637,13 @@ get_wm() {
case "$os" in
"Mac OS X")
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm')"
case "$ps_line" in
*"kwm"*) wm="Kwm" ;;
*"Amethyst"*) wm="Amethyst" ;;
*"Spectacle"*) wm="Spectacle" ;;
*) wm="Quartz Compositor" ;;
esac
esac
;;
"Windows")
@ -1993,6 +1993,10 @@ get_install_date() {
install_date="$(convert_time "${install_date[@]}")"
}
get_locale() {
locale="$sys_locale"
}
get_cols() {
if [[ "$color_blocks" == "on" ]]; then
# Convert the width to space chars.

Loading…
Cancel
Save