Skip to content

LinusCDE/appmarkable

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

appMarkable

rm1 rm2 opkg

This is a fairly dumb ui, meant to be a placeholder for apps who want to be started from draft, oxide and remux.

Example for rmWacomToMouse/rmServeWacomInput:

Usage

USAGE:
    appmarkable [OPTIONS] <command> [args]...

ARGS:
    <command>    Full path to the executable
    <args>...    Arguments for the executable

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --custom-image <custom-image>    Display a custom full image instead of name and icon.
    -i, --icon <icon>                    Path for icon to display
        --icon-size <icon-size>          Size of icon to display (squared) [default: 500]
    -n, --name <name>                    App name to display

Quick start

If you decided to make your app accessible as a package (ipkg) and wan't to have a place in above mentioned launchers, you can specify the same name and icon as used in the draft file (full path though).

The following draft file

name=myAwesomeApp
desc=This is my really cool app
call=/opt/bin/myawesomeapp
term=:
imgFile=myawesomeapp

would turn into

name=myAwesomeApp
desc=This is my really cool app
call=/opt/bin/myawesomeapp-gui
term=:
imgFile=myawesomeapp

where /opt/bin/myawesomeapp-gui is a shell script containing the command to launch the app

#!/bin/bash
/opt/bin/appmarkable /opt/bin/myawesomeapp -n myAwesomeApp -i /opt/etc/draft/icons/myawesomeapp.png

(the extra script is because not all launchers support cli options in the call entry for draft)

Also don't forget to make you package depend on appmarkable to make sure it is installed.

Now you have some UI that just signals that your app is running. The user can quit it by pressing the power and right button together (which sends a SIGINT just like CTRL+C would).

Step it up a notch

If you want more control over the design, you can also just provide a full image to display instead with --custom-image. Though please tell the user how to quit the app, is it isn't done in this mode.

reMarkable 2 support

As of now, the new framebuffer is not yet figured out. As soon as that happens and libremarkable gets updated, I can fix this sw to work on the rM 2.

About

Turn your program into a very simple app for draft and other launchers on the reMarkable.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages