X11 config : Ensure that libxkbcommon is installed
This commit is contained in:
parent
39e2f7243c
commit
f0894c9c39
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. ./lib
|
. ./lib
|
||||||
|
|
||||||
|
pacman -Q libxkbcommon 2> /dev/null
|
||||||
|
if [ "$?" = "1" ]; then
|
||||||
|
if(confirm "libxkbcommon is required to use localectl.\nInstall libxkbcommon ?") then
|
||||||
|
instpkg "libxkbcommon" ""
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
options=()
|
options=()
|
||||||
items=$(localectl list-x11-keymap-layouts)
|
items=$(localectl list-x11-keymap-layouts)
|
||||||
for item in $items; do
|
for item in $items; do
|
||||||
|
|
Loading…
Reference in a new issue