diff --git a/config/xorg/keyboard b/config/xorg/keyboard index d0f12fb..9fce03b 100644 --- a/config/xorg/keyboard +++ b/config/xorg/keyboard @@ -3,7 +3,7 @@ pacman -Q libxkbcommon 2> /dev/null if [ "$?" = "1" ]; then - if(confirm "libxkbcommon is required to use localectl.\nInstall libxkbcommon ?") then + if(confirm "libxkbcommon is required to use localectl.\n\nInstall libxkbcommon?") then instpkg "libxkbcommon" "" else exit 1 @@ -75,7 +75,9 @@ fi if ( confirm "Run localectl set-x11-keymap $layout $model $variant $option ?") then + clear localectl set-x11-keymap $layout $model $variant $option + pressanykey fi exit 0 diff --git a/config/xorg/menu b/config/xorg/menu index 3a6be82..3be0902 100644 --- a/config/xorg/menu +++ b/config/xorg/menu @@ -6,7 +6,7 @@ options+=("Generate /etc/X11/xorg.conf.d/00-keyboard.conf" "") options+=("Edit /etc/X11/xorg.conf.d/00-keyboard.conf" "") defaultitem="" -sel=$(whiptail --backtitle "$apptitle" --title "Bash Configuration :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \ +sel=$(whiptail --backtitle "$apptitle" --title "XOrg Configuration :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ ! "$?" = "0" ]; then