forked from mirrored-repos/manjaro-tools
Merge pull request #82 from aadityabagga/master
[util-livecd]: use same keyboard config for both systemd and openrc
This commit is contained in:
commit
939e0bddba
1 changed files with 1 additions and 5 deletions
|
@ -81,11 +81,7 @@ write_x11_config(){
|
|||
# create X11 keyboard layout config
|
||||
mkdir -p "$1/etc/X11/xorg.conf.d"
|
||||
|
||||
if [[ -f $1/usr/bin/openrc ]]; then
|
||||
local XORGKBLAYOUT="$1/etc/X11/xorg.conf.d/20-keyboard.conf"
|
||||
else
|
||||
local XORGKBLAYOUT="$1/etc/X11/xorg.conf.d/00-keyboard.conf"
|
||||
fi
|
||||
local XORGKBLAYOUT="$1/etc/X11/xorg.conf.d/00-keyboard.conf"
|
||||
|
||||
echo "" >> "$XORGKBLAYOUT"
|
||||
echo "Section \"InputClass\"" > "$XORGKBLAYOUT"
|
||||
|
|
Loading…
Reference in a new issue