Added emoji support, refactored, internalized pyautogui
This commit is contained in:
23
user_config/bin/mouse-keyboard
Executable file
23
user_config/bin/mouse-keyboard
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# . CONFIG.sh
|
||||
|
||||
# set -o xtrace ## To debug scripts
|
||||
# set -o errexit ## To exit on error
|
||||
# set -o errunset ## To exit if a variable is referenced but not set
|
||||
|
||||
|
||||
function main() {
|
||||
call_path=`pwd`
|
||||
path=""
|
||||
|
||||
if [[ ! "${1::1}" == /* ]]; then
|
||||
path="${call_path}/${1}"
|
||||
else
|
||||
path="${1}"
|
||||
fi
|
||||
|
||||
cd "/opt/"
|
||||
python /opt/mouse-keyboard.zip "$@"
|
||||
}
|
||||
main "$@";
|
11
user_config/usr/applications/mouse-keyboard.desktop
Executable file
11
user_config/usr/applications/mouse-keyboard.desktop
Executable file
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Name=Mouse-Board
|
||||
GenericName=Mouse Keyboard
|
||||
Comment=A Python and Gtk+ mouse based keyboard.
|
||||
Exec=/bin/mouse-keyboard %F
|
||||
Icon=/usr/share/mouse-keyboard/icons/mouse-keyboard.png
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
Categories=System;FileTools;Utility;Core
|
||||
MimeType=
|
||||
Terminal=false
|
File diff suppressed because it is too large
Load Diff
23215
user_config/usr/share/mouse-keyboard/emoji.json
Normal file
23215
user_config/usr/share/mouse-keyboard/emoji.json
Normal file
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user