Settings
Settings are containers for storing default values.
settings
{
// Delay before a submenu opens on hover, 0 to 4000 ms.
// This writes the Windows per-user setting SPI_SETMENUSHOWDELAY while a
// menu is open, so it overrides whatever the user chose system-wide.
// The shipped shell.nss sets 200; remove the line to respect their setting.
showdelay = 200
// Prevent interaction with these windows or processes
exclude
{
where = boolean value
window = window name
process = process name
}
// Off unless set: give Shell's menu the selected files in other file
// managers, such as Total Commander (see "Other file managers" below)
filemanagers = ['totalcmd64', 'xyplorer']
tip = true
// or
tip
{
enabled = true
// normal = [background, text]
normal = [default, default]
// normal = [background, text]
primary = [#000, #fff]
// info = [background, text]
info = [#88f, #fff]
// success = [background, text]
success = [#8f8, #fff]
// warning = [background, text]
warning = [#ff8, #fff]
// danger = [background, text]
danger = [#f88, #fff]
// max width value from 200 to 2000
width = 400
// opacity value from 0 to 100
opacity = 100
// radius size value from 0 to 3
radius = 1
time = 1.5
padding = [8, 4]
}
// Disable/Enable modify items processing
modify
{
enabled = boolean value
image = [0 = disable, 1 = enable, 2 = auto reimage]
// Allow/disallow modification of title
title = boolean value
// Allow/disallow modification of visibility
visibility = boolean value
// Allow/disallow modification of parent
parent = boolean value
// Allow/disallow modification of position
position = boolean value
// Allow/disallow to add separator
separator = boolean value
// auto set image and group
auto = boolean value
}
// Disable/Enable new items processing
new
{
enabled = boolean value
// disable/enable image
image = boolean value
}
}
The taskbar
When exclude is true on the taskbar, Shell leaves the taskbar's right-click alone and you get Windows'
own taskbar menu. On Windows 11 that is the menu with Task Manager and Taskbar settings. On the taskbar
window.is_taskbar is true. For example, to keep Shell's menu in File Explorer and on the desktop and give
the taskbar back to Windows:
settings
{
exclude.where = !process.is_explorer or window.is_taskbar
}
Other file managers
In File Explorer, Shell's menu knows which files you right-clicked. Other file managers, such as Total Commander,
XYplorer, Double Commander and Everything, build the Windows file menu their own way, and by default Shell's menu
there doesn't know the files, so items with type= or sel don't show or don't work.
filemanagers turns this on. It is off unless you set it. Give it the names of the programs, without
.exe (what process.name gives), or true for every program but File Explorer.
Shell's menu must also be allowed in those programs: the shipped shell.nss leaves out every program but
File Explorer with exclude.where = !process.is_explorer, so change that line too:
settings
{
filemanagers = ['totalcmd64', 'xyplorer', 'doublecmd', 'everything']
exclude.where = !process.is_explorer && process.name != 'totalcmd64' && process.name != 'xyplorer' &&
process.name != 'doublecmd' && process.name != 'everything'
}
This is new and has had little testing with these programs. If one of them misbehaves, take it off the list. A right-click on empty space in such a program still has no files.