added config for lightdm input method
This commit is contained in:
parent
efdd807814
commit
b9af14966f
6
20-keyboard.conf
Normal file
6
20-keyboard.conf
Normal file
@ -0,0 +1,6 @@
|
||||
Section "InputClass"
|
||||
Identifier "keyboard"
|
||||
MatchIsKeyboard "yes"
|
||||
Option "XkbLayout" "us"
|
||||
Option "XkbVariant" "dvorak"
|
||||
EndSection
|
||||
@ -30,7 +30,7 @@ if command -v fish &> /dev/null; then
|
||||
fi
|
||||
|
||||
# make a very rudimentary attempt to configure lightdm
|
||||
if command -v fish &> /dev/null; then
|
||||
if command -v lightdm &> /dev/null; then
|
||||
echo "You have lightdm installed, I'm assuming you also have my chosen theme lightdm-webkit-theme-litarvan installed as well."
|
||||
read -r -p "Given the above would you like me to attempt (Very rudimentarily) to configure lightdm [Y/n] " input
|
||||
case $input in
|
||||
@ -45,6 +45,19 @@ if command -v fish &> /dev/null; then
|
||||
sudo systemctl enable lightdm
|
||||
;;
|
||||
esac
|
||||
|
||||
read -r -p "Would you also like to set the input method to dvorak? (this is specifically for lightdm) [Y/n] " input
|
||||
case $input in
|
||||
[nN][oO] | [nN])
|
||||
echo "Okay, not configuring."
|
||||
echo "To configure this yourself you need to add ./20-keyboard.conf to /etc/X11/xorg.conf.d/"
|
||||
;;
|
||||
*)
|
||||
echo "Okay, attempting to configure."
|
||||
sudo cp ./20-keyboard.conf /etc/X11/xorg.conf.d/
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
|
||||
# enable bluetooth
|
||||
|
||||
@ -77,6 +77,7 @@ virtualbox
|
||||
DEFAULTS_END
|
||||
|
||||
MISC_START
|
||||
brave
|
||||
lyx
|
||||
kile
|
||||
plexamp-appimage
|
||||
|
||||
Loading…
Reference in New Issue
Block a user