diff --git a/20-keyboard.conf b/20-keyboard.conf new file mode 100644 index 0000000..e55fc89 --- /dev/null +++ b/20-keyboard.conf @@ -0,0 +1,6 @@ +Section "InputClass" + Identifier "keyboard" + MatchIsKeyboard "yes" + Option "XkbLayout" "us" + Option "XkbVariant" "dvorak" +EndSection \ No newline at end of file diff --git a/configure-system b/configure-system index c33380d..ad025c6 100755 --- a/configure-system +++ b/configure-system @@ -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 diff --git a/default-programs b/default-programs index f052a5e..649a2e4 100644 --- a/default-programs +++ b/default-programs @@ -77,6 +77,7 @@ virtualbox DEFAULTS_END MISC_START +brave lyx kile plexamp-appimage