3 Notionflux - lua remote control for Notion.
10 allows you to access the notion lua scripting interface from the
11 command\-line. It either takes a script from stdin or through the \'\-e\'
14 The lua script will be executed by the Lua engine running in Notion, which
15 means it has access to the Notion lua api (notioncore.* et al). Calls to
16 \'print\' will print values to Notion\'s stdout (e.g. ~/.xsession\-errors).
17 The scripts\' return value will be printed by
31 through a socket, which is determined by the
32 .B _NOTION_MOD_NOTIONFLUX_SOCKET
33 property on the root of the display on which
41 socket is created with read/write permissions only for the user who started
51 should not pose any security threat.
56 stdout and \'bar\' to the terminal, specifying the script on the commandline:
60 $ notionflux \-e "print('foo'); return 'bar'"
65 Or the same, but now via STDIN:
69 $ echo "print('foo'); return 'bar'" | notionflux
76 The Notion home page, \fIhttp://notion.sf.net/\fP
78 The document "Configuring and extending Notion with Lua" found on the
83 \fIX(7x)\fP, \fInotionflux(1)\fP
86 Notionflux was written by the Notion team, based on ionflux which was written by Tuomo Valkonen <tuomov at iki.fi>.