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
|
fi
|
||||||
|
|
||||||
# make a very rudimentary attempt to configure lightdm
|
# 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."
|
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
|
read -r -p "Given the above would you like me to attempt (Very rudimentarily) to configure lightdm [Y/n] " input
|
||||||
case $input in
|
case $input in
|
||||||
@ -45,6 +45,19 @@ if command -v fish &> /dev/null; then
|
|||||||
sudo systemctl enable lightdm
|
sudo systemctl enable lightdm
|
||||||
;;
|
;;
|
||||||
esac
|
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
|
fi
|
||||||
|
|
||||||
# enable bluetooth
|
# enable bluetooth
|
||||||
|
|||||||
@ -77,6 +77,7 @@ virtualbox
|
|||||||
DEFAULTS_END
|
DEFAULTS_END
|
||||||
|
|
||||||
MISC_START
|
MISC_START
|
||||||
|
brave
|
||||||
lyx
|
lyx
|
||||||
kile
|
kile
|
||||||
plexamp-appimage
|
plexamp-appimage
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user