mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2024-11-25 00:38:20 -05:00
13 lines
259 B
Bash
Executable File
13 lines
259 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
keyboard () {
|
|
icon=" "
|
|
|
|
keyboard="$(setxkbmap -query | awk '/layout/{print $2}')"
|
|
keyboard=" $keyboard"
|
|
|
|
printf "%s%s\n" "%{F#1e222a}%{B#6D8895}$icon%{F-}%{B-}" "%{F#1e222a}%{B#C4C7C5}$keyboard %{F-}%{B-}"
|
|
}
|
|
|
|
keyboard
|