Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
grml-lang: remove "nodeadkeys" when switching from de to us layout
  • Loading branch information
zeha committed Jun 19, 2025
commit ce071283cbc95801116b6d76affe089e301d38e8
5 changes: 1 addition & 4 deletions config/files/GRMLBASE/usr/bin/grml-lang
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ usage(){
}

setvalue(){
[ -n "$2" ] || return 1
sudo sed -i --follow-symlinks "s#^${1}=.*#${1}=\"${2}\"#" "${CONFFILE}"
}

Expand All @@ -27,9 +26,7 @@ configure_keyboard(){
# Update /etc/default/keyboard
if [ -r "$CONFFILE" ] ; then
setvalue XKBLAYOUT "$layout"
if [ -n "$variant" ] ; then
setvalue XKBVARIANT "$variant"
fi
setvalue XKBVARIANT "$variant"
else
# Create the file if it doesn't exist
sudo tee "$CONFFILE" > /dev/null <<EOF
Expand Down