Skip to content

Commit

Permalink
Add squeek output get function
Browse files Browse the repository at this point in the history
  • Loading branch information
spl237 committed Dec 10, 2024
1 parent cad59e8 commit 8a1fad8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions raspi-config
Original file line number Diff line number Diff line change
Expand Up @@ -3526,6 +3526,14 @@ EOF
fi
}

get_squeek_output (){
if [ -e /usr/share/squeekboard/output ] ; then
echo `grep SQUEEKBOARD_PREFERRED_OUTPUT /usr/share/squeekboard/output | cut -d = -f 2`
else
echo ""
fi
}

do_squeek_output() {
PREFIX=""
if [ -n "$SUDO_USER" ] ; then
Expand Down

0 comments on commit 8a1fad8

Please sign in to comment.