This is supposed to be an on-screen navigation pad but I didn't add commands ... I leave it to each to decide what to do with it.
Code: Select all
[[ -f /root/sh/navi-pad.conf ]] && . /root/sh/navi-pad.conf
cmndone='bash -c "$acmnd"'
cmndtwo='bash -c "$bcmnd"'
cmndthree='bash -c "$ccmnd"'
cmndfour='bash -c "$dcmnd"'
cmndfive='bash -c "$ecmnd"'
cmndsix='bash -c "$fcmnd"'
cmndseven='bash -c "$gcmnd"'
cmndeight='bash -c "$hcmnd"'
cmndnine='bash -c "$icmnd"'
yad --form --field="➖":fbtn "$cmndone" --field="⬅️":fbtn "$cmndtwo" --field="❎":fbtn "$cmndthree" --field="⬆️":fbtn "$cmndfour" --field="⏯️":fbtn "$cmndfive" --field="⬇️":fbtn "$cmndsix" --field="➕":fbtn "$cmndseven" --field="➡️":fbtn "$cmndeight" --field="🆗":fbtn "$cmndnine" --columns="3" --undecorated --no-buttons --skip-taskbar --on-top &