Skip to content

Instantly share code, notes, and snippets.

@ropp5pop
Last active April 14, 2025 17:20
Show Gist options
  • Save ropp5pop/9c76a31fca5727fa5437163597b00227 to your computer and use it in GitHub Desktop.
Save ropp5pop/9c76a31fca5727fa5437163597b00227 to your computer and use it in GitHub Desktop.
My main Config files for Nilesoft Shell.
// Ropp's main config
// https://nilesoft.org/docs/functions/id
// Cheatsheet:
// Types: file|dir|drive|usb|dvd|fixed|vhd|removable|remote|back|desktop|namespace|computer|recyclebin|taskbar
// remove... mod etc
// multiple remove (find="view|sort|paste")
// all not equal to remove(where=this.name!="shit")
// type is file only remove (type="file" find="run as admin")
// modify( find = value [property = value [...] ])
//
// Validation Properties - Mode, Type, Where
//
// Remove stuff
// Win11 items
remove(find="New|Always keep on this device|Free up space|Copy Link|Manage access|View online|Version history")
remove(find="Copy To folder|Move To Folder|Cut|Copy|Delete|Rename|Paste|Refresh")
remove(type="file" find="Add to Favorites|Troubleshoot compatibility")
// Software related items
remove(find="Edit with Notepad++|Open with Visual Studio|Browse in Adobe Bridge 2024")
remove(find="Play with VLC media player|Add to VLC media player's playlist|Open with AddOn Studio for WoW")
// Cloud items
remove(find='OneDrive|Sync or Backup')
// Remove the "Open" "Play" and "Edit" entry without losing stuff like open file location, open with etc.
remove(where=this.id==id.open image=image.default)
remove(where=this.id==id.play image=image.default)
remove(where=this.id==id.Edit image=image.default)
// Add stuff
// Items
item(title='VS-Code edit' type='file' image=[\uE272, #22A7F2] cmd='code' [email protected] pos=1 sep=bottom)
// New menu - Ropp
menu(mode="multiple" title='Ropp' vis=key.shift() or key.control() sep=sep.bottom image=\uE1DA)
{
menu(mode="single" title='editors' image=\uE17A)
{
item(type='file|dir|back' title='VS Code' image=[\uE272, #22A7F2] cmd='code' args='"@sel.path"' position=1 )
item(type='file|dir|back' title='Notepad++' image cmd='C:\Program Files\Notepad++\notepad++.exe' [email protected] position=2 )
item(type='file|dir|back' title='Sublime Text' image cmd='D:\Progam Portable\sublime_text_build_4152_x64\sublime_text.exe' args='"@sel.path"' position=3 )
}
menu(mode="single" title='Usual Suspects' image=\uE143)
{
item(title='WowUp-CF' image cmd='C:\Users\robin\AppData\Local\Programs\wowup-cf\WowUp-CF.exe' args='"@sel.path"' pos=1)
item(title='TSM' image cmd='C:\Program Files (x86)\TradeSkillMaster Application\app\TSMApplication.exe' args='"@sel.path"' pos=2)
item(title='WA Compantion' image cmd='C:\Users\robin\AppData\Local\Programs\weakauras-companion\WeakAuras Companion.exe' args='"@sel.path"' pos=3)
item(title='Wowsims-WOTLK' image cmd='O:\WoW-shit\WoW-Sims\wowsimwotlk-windows.exe' args='"@sel.path"' pos=4)
item(title='Battlenet' image cmd='C:\Program Files (x86)\Battle.net\Battle.net Launcher.exe' args='"@sel.path"' pos=5 sep=top)
}
separator
item(title='All Control Panel Items' image=\uE0F3 cmd='shell:::{ED7BA470-8E54-465E-825C-99712043E01C}')
item(title='Applications' image=inherit cmd='shell:appsfolder')
item(title='AppData' image=inherit cmd=user.appdata)
}
// New menu - New
menu(mode="single" type='back' title='New+' pos="8" image=[\uE17A, #22A7F2] sep=after)
{
item(title='Folder(ymdHM)' cmd=io.dir.create(sys.datetime("ymd_HM")) image=icon.new_folder)
separator
$dt = sys.datetime("ymd_HM")
item(title='.txt' cmd=io.file.create('@(dt).txt') image=icon.new_file)
item(title='.xml' cmd=io.file.create('@(dt).xml') image=icon.new_file)
item(title='.json' cmd=io.file.create('@(dt).json') image=icon.new_file)
}
// New menu - Display
menu(mode="single" type='back' title='Display' pos="9" image=[\uE203, #338822] sep=before)
{
// Moving existing items to Display
modify(find='Personalize' menu="Display" pos="1")
modify(where=this.name=='display settings' menu="Display" pos="2" )
modify(find='NVIDIA' menu="Display" pos="3" sep=before)
}
// New item - Restart Explorer
item(title="Restart Explorer" cmd=command.restart_explorer vis=key.control() and key.shift() pos="10" sep=before image=#BB2233)
// Moving and modifying stuff
// Organizing
modify(where=this.name=='scan with microsoft defender' menu="more options")
modify(find='7-Zip' type='drive' vis='hidden') // Hiding 7z from drives
modify(where=this.name=='properties' pos="10" sep=before )
// Taskbar
menu(type='file|dir|back' where=(sel.count or wnd.is_taskbar or wnd.is_edit) title="Dev" sep=sep.top image=icon.run_with_powershell menu="file manage")
{
$tip_run_admin=["Administrator(+SHIFT)", 1.0]
$has_admin=key.shift() or key.rbutton()
item(title=title.command_prompt tip=tip_run_admin admin=has_admin image cmd-prompt=`/K TITLE Command Prompt &ver& PUSHD "@sel.dir"`)
item(title=title.windows_powershell admin=has_admin tip=tip_run_admin image cmd-ps=`-noexit -command Set-Location -Path '@sel.dir'`)
item(where=package.exists("WindowsTerminal") title=title.Windows_Terminal tip=tip_run_admin admin=has_admin image='@package.path("WindowsTerminal")\WindowsTerminal.exe' cmd="wt.exe" arg=`-d "@sel.path\."`)
}
settings
{
priority=1
exclude.where = !process.is_explorer
showdelay = 200
// Options to allow modification of system items
modify.remove.duplicate=1
tip.enabled=true
}
// import 'imports/theme.nss'
import 'rp2401/theme.nss'
import 'imports/images.nss'
import 'imports/modify.nss'
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/taskbar.nss'
import 'rp2401/rp2401.nss'
// import 'imports/goto.nss'
// import 'imports/develop.nss'
// import 'imports/terminal.nss'
menu(type="taskbar" vis=key.shift() or key.lbutton() 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"[email protected] vis=label col=1)
item(title="docs" image=\uE1C4 cmd='https://nilesoft.org/docs')
item(title="donate" image=\uE1A7 cmd='https://nilesoft.org/donate')
}
menu(where=@(this.count == 0) type='taskbar' image=icon.settings expanded=true)
{
// menu(title="Apps" image=\uE254)
// {
// item(title='Paint' image=\uE116 cmd='mspaint')
// item(title='Edge' image cmd='@sys.prog32\Microsoft\Edge\Application\msedge.exe')
// item(title='Calculator' image=\ue1e7 cmd='calc.exe')
// item(title=str.res('regedit.exe,-16') image cmd='regedit.exe')
// }
menu(title=title.windows image=\uE1FB)
{
item(title=title.cascade_windows cmd=command.cascade_windows)
item(title=title.Show_windows_stacked cmd=command.Show_windows_stacked)
item(title=title.Show_windows_side_by_side cmd=command.Show_windows_side_by_side)
sep
item(title=title.minimize_all_windows cmd=command.minimize_all_windows)
item(title=title.restore_all_windows cmd=command.restore_all_windows)
}
item(title=title.desktop image=icon.desktop cmd=command.toggle_desktop)
item(title=title.settings image=icon.settings(auto, image.color1) cmd='ms-settings:')
item(title=title.task_manager sep=both image=icon.task_manager cmd='taskmgr.exe')
item(title=title.taskbar_Settings sep=both image=inherit cmd='ms-settings:taskbar')
item(vis=key.shift() title=title.exit_explorer cmd=command.restart_explorer)
}
theme
{
name = "rp2401"
view = view.compact
dark = sys.dark
layout.width=172
font.size=14
image.align = 2
background
{
color=#141a22
opacity=auto
effect=0
}
border
{
size = 1
color=[#778899]
radius = 0
}
separator
{
color=[#ffffff,50]
size=1
}
item
{
text.normal=[#d5d8da]
text.select=[#f1f2f3]
back.select=[#343a4a,75]
border.select=[#ffffff,55]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment