Comments (7)
• I will make a gallery of glyphs soon so you can choose the icons. For now you can refer to the glyph template in this link
• You can copy the glyph template to shell.shl for it to work.
• Currently main explorer and taskbar context menus are supported. There are plans to include all the explorer context menus with more options for filtering by window type.
from shell.
There is a glyphs embedded with Shell that are used by default.
More about glyphs Segoe MDL2 Assets, Segoe Fluent Icons
Use other external glyphs You can use this function
image.glyph(\uE006, "Segoe Fluent Icons")
image.glyph(\uE006, #f00, "Segoe MDL2 Assets")
from shell.
Pardon my limited understanding for this matter.
So I followed this link and intended to use some of that great set of glyphs but I don't seem to understand how to make them work.
So first, I downloaded the font, installed it on my Win10 and tried to use the unicode points inside of my Shell.shl to show the relevant icons in my windows context menu but failed to do that.
So once and for all, please show me by code snippet as an example how to replace that default 'Refresh' icon from Shell by the 'Sync' icon from Segoe Fluent Icons?
I'll use your snippet as a template guide to make any other icon changes. Thanks a lot in advance.
from shell.
Sorry, there is an issue that default shell glyphs skip user entered fonts, corrected with addition of image.fluent and image.mdl shortcut function,
static
{
item(where=@(this.id == id.refresh) [email protected](\uE895, "Segoe Fluent Icons"))
item(where=@(this.id == id.refresh) image=image.glyph(\uE895, #f00, "Segoe MDL2 Assets"))
//or
item(where=@(this.id == id.refresh) [email protected](\uE895))
item(where=@(this.id == id.refresh) [email protected](\uE895))
//or
//This function gives priority to "Segoe Fluent Icons" if present then "Segoe MDL2 Assets"
item(where=@(this.id == id.refresh) [email protected](\uE895) )
}
This update will be released this week.
from shell.
Glyphs issue fixed, and support for most File Explorer context menus.
from shell.
Pardon my limited understanding for this matter. So I followed this link and intended to use some of that great set of glyphs but I don't seem to understand how to make them work. So first, I downloaded the font, installed it on my Win10 and tried to use the unicode points inside of my Shell.shl to show the relevant icons in my windows context menu but failed to do that.
So once and for all, please show me by code snippet as an example how to replace that default 'Refresh' icon from Shell by the 'Sync' icon from Segoe Fluent Icons?
I'll use your snippet as a template guide to make any other icon changes. Thanks a lot in advance.
@Marvinoo You can now change the icon of the refresh item through the following functions
shell {
static {
// by built-in glyphs
item(where=@(this.id == id.refresh) image=\uE1AB))
// or
item(where=@(this.id == id.refresh) [email protected](\uE895))
}
}
Work is currently underway to create a gallery of embedded glyphs.
from shell.
@Marvinoo You can now explore glyphs through this link
from shell.
Related Issues (20)
- Feedback HOT 7
- Add more ids
- Positioning Bug HOT 1
- How can I add a new section "APP" ? HOT 1
- Download page is down? HOT 1
- Title bug HOT 1
- Blank space on the context menu of some items HOT 2
- duplicate entry in submenu HOT 2
- More Options menu, Notepad++ HOT 1
- Duplicate Entry "Power Rename" from Microsoft PowerToys HOT 2
- Duplicate entry "Copy the access path" from "File Manage". HOT 4
- Publish "sinale" file HOT 2
- Discord Link in primary README.md is invalid HOT 1
- Include create a txt file of directory content HOT 2
- Notepad++ entry does not appear HOT 2
- [feature-request] Add Sublime Text glyphs
- Right click on video files takes two to three seconds HOT 11
- [feature-request] Menu reuse
- Missing glyphs HOT 3
- Always have Open With option for any file HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shell.