mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-27 21:19:51 -05:00
10 lines
230 B
Bash
Executable File
10 lines
230 B
Bash
Executable File
#!/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 |