Added sxmo_keyboard script that acts as an intermediary to opening and closing the keyboard
This commit is contained in:
parent
c51414257e
commit
4eb914265d
10 changed files with 44 additions and 17 deletions
|
@ -7,12 +7,12 @@
|
|||
[ -z "$SXMO_SUBREDDITS" ] && SXMO_SUBREDDITS="pine64official pinephoneofficial unixporn postmarketos linux"
|
||||
|
||||
menu() {
|
||||
pidof "$KEYBOARD" || "$KEYBOARD" &
|
||||
sxmo_keyboard.sh open
|
||||
SUBREDDIT="$(
|
||||
printf %b "Close Menu\n$(echo "$SXMO_SUBREDDITS" | tr " " '\n')" |
|
||||
dmenu -p "Subreddit:" -c -l 10
|
||||
)"
|
||||
pkill "$KEYBOARD"
|
||||
sxmo_keyboard.sh close
|
||||
[ "Close Menu" = "$SUBREDDIT" ] && exit 0
|
||||
|
||||
REDDITRESULTS="$(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue