carbs

Cem's Auto Rice Bootstrapping Scripts
git clone git://git.ckyln.com/carbs.git
Log | Files | Refs | README | LICENSE

commit 88fdfb1e51b118ab73983a6dd1cf16b148768fae
parent 7fdc65e51572de37800502e896c7a81179c6f335
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu,  7 Nov 2019 11:42:52 +0300

change the way keyboardset works

Diffstat:
Mcarbs | 9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/carbs b/carbs @@ -193,15 +193,10 @@ wallpaperinstall() { keyboardset() { if [ -z $XK ]; then - cat <<EOF -What X11 Keymap are you going to use? (default: us) -EOF - read XK + XK="$(sed '/^! layout$/,/^ *$/!d;//d' /usr/share/X11/xkb/rules/base.lst | fzf --prompt "What X11 Keymap are you going to use? (default: us) " | awk '{print $1}')" [ -z $XK ] && XK="us" fi - cat >$HOME/.config/xkeymap <<EOF -KEYMAP=$XK -EOF + printf "XKEYMAP=$XK\\n" > $HOME/.config/xkeymap } addusergroups() {