Nilesoft-Shell配置

先把本体下载下来

winget install nilesoft.shell

如果使用winget的话,安装目录会在C:\Program Files\Nilesoft Shell

然后把主题换上,把安装目录的impport/theme.nss替换掉

具体的主题可以在这里找

菜单拓展主题-nilesoft-shell

我使用的是catppuccin-macchiato-lavender.nss,针对item的间距做了一些修改,代码如下

theme
{
	name = "modern"

	view = view.compact

	background
	{
		color = #24273a
		opacity = 80
		effect = 2
	}

	item
	{
		opacity = 100

		prefix = 1

		text
		{
			normal = #cad3f5
			select = #cad3f5
			normal-disabled = #a5adcb
			select-disabled = #a5adcb
		}

		back
		{
			select = #494d64
			select-disabled = #363a4f
		}

		padding
		{
			left = 12
			top = 5
			right = 10
			bottom = 5
		}
	}

	// font
	// {
	// 	size = 14
	// 	name = "Segoe UI Variable Text"
	// 	weight = 2
	// 	italic = 0
	// }

	border
	{
		enabled = false
		size = 1
		color = #b7bdf8
		opacity = 100
		radius = 2
	}

	shadow
	{
		enabled = true
		size = 5
		opacity = 5
		color = #181926
	}

	separator
	{
		size = 1
		color = #363a4f
	}

	symbol
	{
		normal = #b7bdf8
		select = #b7bdf8
		normal-disabled = #a5adcb
		select-disabled = #a5adcb
	}

	image
	{
		enabled = true
		color = [#cad3f5, #b7bdf8, #24273a]
	}
}

改了两个地方: paddingbackgroundpadding增加了四周间距,background改了毛玻璃效果。

此外,对更目录下的shell.nss做了一些修改,去除了一些不需要的菜单项

remove(find = "NVIDIA Control Panel | 更换壁纸 | 更换电脑主题 | WizTree | Open Folder as IntelliJ IDEA Project | Open Git GUI here | Open Git Bash here | ArmouryCrate | Open with Visual Studio | Go To | Sort By")

remove(find = "发送到手机 | 上传到夸克网盘 | 彻底粉碎文件 | 上传到百度网盘 | 同步至其它设备 | 添加到* | Move to* | Scan with*")

添加了以上代码,然后点开根目录下的shell.exe,重启之后就可以看到效果了。