mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-30 14:32:08 -05:00
10 lines
230 B
Plaintext
10 lines
230 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
LOCALE_INFO=$(localectl)
|
||
|
LOCALE_NAME=$(echo "${LOCALE_INFO}" | grep "System Locale" | awk -F '=' '{print $2}' | cut -c 1-2)
|
||
|
|
||
|
if [[ "${LOCALE_NAME}" ]]; then
|
||
|
echo "${LOCALE_NAME}"
|
||
|
echo "${LOCALE_NAME}"
|
||
|
echo ""
|
||
|
fi
|