Monday, June 12, 2023

Nilesoft Shell Context Menu

Hints

Shift + right click on taskbar includes shell options as top option.

After change to shell.nss, cntl + right click restarts fresh shell with alterations.

This site to download new shell.nss theme.
https://github.com/catppuccin/nilesoft-shell
* Choose raw then right click and save. Rename as shell.nss. Back up original as shell.nss.bak and move new shell.nss into folder.
* I grabbed  nilesoft-shell/macchiato/catppuccin-macchiato-green.nss and quite like it.

I found unaltered shell.ness hard to read on a dark background.
I couldn't come up with the right numbers to get the proper effect so replacing was easier. Just back up shell.ness to shell.bak and copy the code into shell.ness.

Oh, what the heck. Here is the code.

shell
{
var
{
isw11=sys.is11
}
set
{
theme
{
name = "modern"
background
{
color = #24273a
opacity = 100
// effect = 2
}

item
{
opacity = 100

prefix = 1

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

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

border
{
enabled = true
size = 1
color = #a6da95
opacity = 100
radius = 2
}

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

separator
{
size = 1
color = #363a4f
}

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

image
{
enabled = true
color = [#cad3f5, #a6da95, #24273a]
}
}
exclude.where = !process.is_explorer
showdelay=200
}

images import 'imports/images.nss'

static
{
import 'imports/static.nss'
item(where=this.title.length > 25 menu=title.more_options)
}

dynamic
{
menu(mode="multiple" title="Pin/Unpin" image=icon.pin) { }
menu(mode="multiple" title=title.more_options image=icon.more_options) { }
import 'imports/file-manage.nss'
import 'imports/develop.nss'
import 'imports/goto.nss'
menu(type="taskbar" vis=key.shift() pos=0 title=app.name image=\uE249)
{
item(title="config" image=\uE10A cmd='"@app.cfg"')
item(title="manager" image=\uE0F3 admin cmd='"@app.exe"')
item(title="directory" image=\uE0E8 cmd='"@app.dir"')
item(title="version\t"+@app.ver vis=label col=1)
item(title="docs" image=\uE1C4 cmd='https://nilesoft.org/docs')
item(title="donate" image=\uE1A7 cmd='https://nilesoft.org/donate')
}
import if(isw11, 'imports/taskbar.nss')
}
}

Curl, Wget, Winget & Powershell Install or Download Commands

After the mess I made in previous posts this summary might be useful.     Thanks PatchMyPC, the great and powerful program downloader and up...