Merge pull request #3395 from onesounds/250329-SysPluginGlyph

Add glyph icons for Sys Plugin
This commit is contained in:
DB P 2025-03-29 18:12:58 +09:00 committed by GitHub
commit e63d7b7f44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -302,7 +302,7 @@ namespace Flow.Launcher.Plugin.Sys
new Result
{
Title = "Hibernate",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe945"),
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe8be"),
IcoPath = "Images\\hibernate.png",
Action= c =>
{
@ -325,7 +325,7 @@ namespace Flow.Launcher.Plugin.Sys
{
Title = "Empty Recycle Bin",
IcoPath = "Images\\recyclebin.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe74d"),
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xea99"),
Action = c =>
{
// http://www.pinvoke.net/default.aspx/shell32/SHEmptyRecycleBin.html
@ -361,6 +361,7 @@ namespace Flow.Launcher.Plugin.Sys
{
Title = "Exit",
IcoPath = "Images\\app.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe89f"),
Action = c =>
{
Application.Current.MainWindow.Close();
@ -370,6 +371,7 @@ namespace Flow.Launcher.Plugin.Sys
new Result
{
Title = "Save Settings",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xea35"),
IcoPath = "Images\\app.png",
Action = c =>
{
@ -381,6 +383,7 @@ namespace Flow.Launcher.Plugin.Sys
},
new Result
{
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe72c"),
Title = "Restart Flow Launcher",
IcoPath = "Images\\app.png",
Action = c =>
@ -392,6 +395,7 @@ namespace Flow.Launcher.Plugin.Sys
new Result
{
Title = "Settings",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xf210"),
IcoPath = "Images\\app.png",
Action = c =>
{
@ -403,6 +407,7 @@ namespace Flow.Launcher.Plugin.Sys
{
Title = "Reload Plugin Data",
IcoPath = "Images\\app.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe72c"),
Action = c =>
{
// Hide the window first then show msg after done because sometimes the reload could take a while, so not to make user think it's frozen.
@ -421,6 +426,7 @@ namespace Flow.Launcher.Plugin.Sys
new Result
{
Title = "Check For Update",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xede4"),
IcoPath = "Images\\checkupdate.png",
Action = c =>
{
@ -431,6 +437,7 @@ namespace Flow.Launcher.Plugin.Sys
},
new Result
{
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xf12b"),
Title = "Open Log Location",
IcoPath = "Images\\app.png",
CopyText = logPath,
@ -444,6 +451,7 @@ namespace Flow.Launcher.Plugin.Sys
new Result
{
Title = "Flow Launcher Tips",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe897"),
IcoPath = "Images\\app.png",
CopyText = Constant.Documentation,
AutoCompleteText = Constant.Documentation,
@ -456,6 +464,7 @@ namespace Flow.Launcher.Plugin.Sys
new Result
{
Title = "Flow Launcher UserData Folder",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xf12b"),
IcoPath = "Images\\app.png",
CopyText = userDataPath,
AutoCompleteText = userDataPath,
@ -480,7 +489,7 @@ namespace Flow.Launcher.Plugin.Sys
{
Title = "Set Flow Launcher Theme",
IcoPath = "Images\\app.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\ue7fc"),
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\ue790"),
Action = c =>
{
_context.API.ChangeQuery($"{ThemeSelector.Keyword} ");