Improved extensibility of nickel_setting, split browser stuff into nickel_browser action (closes #59) (#60)
* Split browser actions from nickel_extra into nickel_browser * Improved extensibility of nickel_setting action Instead of nickel_setting:<setting> for toggling a setting and nickel_setting:<setting>:<bool> for setting it explicitly, use nickel_setting:<action>:<setting>.
This commit is contained in:
33
res/doc
33
res/doc
@@ -29,6 +29,7 @@
|
||||
# kfmon - triggers a kfmon action
|
||||
# nickel_setting - toggles a boolean setting
|
||||
# nickel_extras - opens one of the beta features
|
||||
# nickel_browser - opens the browser
|
||||
# nickel_misc - other stuff which isn't significant enough for its own category
|
||||
# nickel_open - opens a view
|
||||
# nickel_wifi - controls wifi (note: it doesn't wait for it to connect or disconnect, neither does it check for success)
|
||||
@@ -46,27 +47,29 @@
|
||||
# kfmon - the filename of the KFMon watched item to launch.
|
||||
# This is actually the basename of the watch's filename as specified in its KFMon config (i.e., the png).
|
||||
# You can also check the output of the 'list' command via the kfmon-ipc tool.
|
||||
# nickel_setting - one of:
|
||||
# invert - toggles FeatureSettings.InvertScreen
|
||||
# invert:<value> - ^ same, but sets it to 'true'/'enabled'/'yes'/'on'/'1' or 'false'/'disabled'/'no'/'off'/'0'
|
||||
# lockscreen - toggles PowerSettings.UnlockEnabled (4.12.12111+)
|
||||
# lockscreen:<value> - ^ ...
|
||||
# screenshots - toggles FeatureSettings.Screenshots
|
||||
# screenshots:<value> - ^ ...
|
||||
# force_wifi - toggles DeveloperSettings.ForceWifiOn (note: the setting doesn't apply until you toggle WiFi)
|
||||
# force_wifi:<value> - ^ ...
|
||||
# nickel_setting - <action>:<setting>
|
||||
# action if one of:
|
||||
# toggle - toggles between true/false
|
||||
# enable - sets to true
|
||||
# disable - sets to false
|
||||
# setting is one of:
|
||||
# invert - FeatureSettings.InvertScreen
|
||||
# lockscreen - PowerSettings.UnlockEnabled (4.12.12111+)
|
||||
# screenshots - FeatureSettings.Screenshots
|
||||
# force_wifi - DeveloperSettings.ForceWifiOn (note: the setting doesn't apply until you toggle WiFi)
|
||||
# nickel_extras - the mimetype of the plugin, or one of:
|
||||
# web_browser - opens the web browser to the default homepage
|
||||
# web_browser:<url> - opens the web browser to the specified URL
|
||||
# web_browser:<url> <css> - opens the web browser to the specified URL and injects the specified CSS (which can contain spaces and colons) into all pages
|
||||
# web_browser:modal - opens the web browser to the default homepage as a pop-up window
|
||||
# web_browser:modal:<url> - see above
|
||||
# web_browser:modal:<url> <css> - see above
|
||||
# unblock_it
|
||||
# sketch_pad
|
||||
# solitaire
|
||||
# sudoku
|
||||
# word_scramble
|
||||
# nickel_browser - one of:
|
||||
# - opens the web browser to the default homepage (note that the line should end with a colon even though the argument is blank)
|
||||
# <url> - opens the web browser to the specified URL
|
||||
# <url> <css> - opens the web browser to the specified URL and injects the specified CSS (which can contain spaces and colons) into all pages
|
||||
# modal - opens the web browser to the default homepage as a pop-up window
|
||||
# modal:<url> - see above
|
||||
# modal:<url> <css> - see above
|
||||
# nickel_misc - one of:
|
||||
# home - goes to the home screen
|
||||
# force_usb_connection - forces a usb connection dialog to be shown
|
||||
|
||||
Reference in New Issue
Block a user