mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-05 15:05:46 +01:00
add a color scheme parameter to
This commit is contained in:
@@ -381,7 +381,7 @@ liberator.registerObserver("load_commands", function ()
|
|||||||
let scheme = args.arguments[0];
|
let scheme = args.arguments[0];
|
||||||
|
|
||||||
if (io.sourceFromRuntimePath(["colors/" + scheme + ".vimp"]))
|
if (io.sourceFromRuntimePath(["colors/" + scheme + ".vimp"]))
|
||||||
autocommands.trigger("ColorScheme", {});
|
autocommands.trigger("ColorScheme", { color: scheme }); // XXX: Best name?
|
||||||
else
|
else
|
||||||
liberator.echoerr("E185: Cannot find color scheme " + scheme);
|
liberator.echoerr("E185: Cannot find color scheme " + scheme);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ The following keywords are available where relevant:
|
|||||||
*<size>* The size of a downloaded file.
|
*<size>* The size of a downloaded file.
|
||||||
*<file>* The target destination of a download.
|
*<file>* The target destination of a download.
|
||||||
*<fullscreen>* The new fullscreen state.
|
*<fullscreen>* The new fullscreen state.
|
||||||
|
*<color>* The color scheme name.
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
|
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|||||||
Reference in New Issue
Block a user