vcarbs

Cem's Auto Rice Bootstrapping Scripts, for Void Linux
git clone git://git.ckyln.com/vcarbs.git
Log | Files | Refs | README | LICENSE

commit 841c878ad27fbec4e0ee60db21abb3fe4209071d
parent 89ac34caa02eb869365d8bd437e91207fc65fe31
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 @@ -151,15 +151,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 } serviceinit() {