mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 03:32:28 +01:00
Add :only.
This commit is contained in:
@@ -209,6 +209,17 @@ const config = { //{{{
|
||||
////////////////////// COMMANDS ////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
commands.add(["on[ly]"],
|
||||
"Close all other windows",
|
||||
function ()
|
||||
{
|
||||
liberator.windows.forEach(function (win) {
|
||||
if (win != window)
|
||||
win.close();
|
||||
});
|
||||
},
|
||||
{ argCount: "0" });
|
||||
|
||||
commands.add(["pref[erences]", "prefs"],
|
||||
"Show " + config.hostApplication + " preferences",
|
||||
function (args)
|
||||
|
||||
Reference in New Issue
Block a user