Add commands and icon update

This commit is contained in:
DB p 2022-09-08 20:45:26 +09:00
parent 930e4e8207
commit eedcb4d8aa
15 changed files with 141 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,005 B

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -18,8 +18,16 @@
<system:String x:Key="flowlauncher_plugin_sys_sleep">Put computer to sleep</system:String>
<system:String x:Key="flowlauncher_plugin_sys_emptyrecyclebin">Empty recycle bin</system:String>
<system:String x:Key="flowlauncher_plugin_sys_openrecyclebin">Open recycle bin</system:String>
<system:String x:Key="flowlauncher_plugin_sys_openmycomputer">Open my computer</system:String>
<system:String x:Key="flowlauncher_plugin_sys_openmycomputer">My PC</system:String>
<system:String x:Key="flowlauncher_plugin_sys_openmydesktop">Desktop</system:String>
<system:String x:Key="flowlauncher_plugin_sys_libraries">Libraries</system:String>
<system:String x:Key="flowlauncher_plugin_sys_explorer">Explorer</system:String>
<system:String x:Key="flowlauncher_plugin_sys_pictures">Pictures</system:String>
<system:String x:Key="flowlauncher_plugin_sys_music">Music</system:String>
<system:String x:Key="flowlauncher_plugin_sys_videos">Videos</system:String>
<system:String x:Key="flowlauncher_plugin_sys_downloads">Downloads</system:String>
<system:String x:Key="flowlauncher_plugin_sys_documents">Documents</system:String>
<system:String x:Key="flowlauncher_plugin_sys_indexoption">Indexing Options</system:String>
<system:String x:Key="flowlauncher_plugin_sys_hibernate">Hibernate computer</system:String>
<system:String x:Key="flowlauncher_plugin_sys_save_all_settings">Save all Flow Launcher settings</system:String>
<system:String x:Key="flowlauncher_plugin_sys_reload_plugin_data">Refreshes plugin data with new content</system:String>

View file

@ -19,8 +19,16 @@
<system:String x:Key="flowlauncher_plugin_sys_sleep">PC를 절전모드로 전환</system:String>
<system:String x:Key="flowlauncher_plugin_sys_emptyrecyclebin">휴지통 비우기</system:String>
<system:String x:Key="flowlauncher_plugin_sys_openrecyclebin">휴지통 열기</system:String>
<system:String x:Key="flowlauncher_plugin_sys_openmycomputer">내 컴퓨터</system:String>
<system:String x:Key="flowlauncher_plugin_sys_openmycomputer">내 PC</system:String>
<system:String x:Key="flowlauncher_plugin_sys_openmydesktop">바탕 화면</system:String>
<system:String x:Key="flowlauncher_plugin_sys_libraries">라이브러리</system:String>
<system:String x:Key="flowlauncher_plugin_sys_explorer">파일 탐색기</system:String>
<system:String x:Key="flowlauncher_plugin_sys_pictures">사진</system:String>
<system:String x:Key="flowlauncher_plugin_sys_music">음악</system:String>
<system:String x:Key="flowlauncher_plugin_sys_videos">비디오</system:String>
<system:String x:Key="flowlauncher_plugin_sys_downloads">다운로드</system:String>
<system:String x:Key="flowlauncher_plugin_sys_documents">문서</system:String>
<system:String x:Key="flowlauncher_plugin_sys_indexoption">색인 옵션</system:String>
<system:String x:Key="flowlauncher_plugin_sys_hibernate">최대 절전 모드</system:String>
<system:String x:Key="flowlauncher_plugin_sys_save_all_settings">Flow Launcher 설정 저장</system:String>
<system:String x:Key="flowlauncher_plugin_sys_reload_plugin_data">플러그인 데이터를 새 콘텐츠와 함께 다시 로드</system:String>

View file

@ -193,15 +193,27 @@ namespace Flow.Launcher.Plugin.Sys
},
new Result
{
Title = "My Computer",
Title = "Explorer",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_explorer"),
IcoPath = "Images\\explorer.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xec50"),
Action = c =>
{
{
System.Diagnostics.Process.Start("explorer.exe", "");
}
return true;
}
},
new Result
{
Title = "My PC",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_openmycomputer"),
IcoPath = "Images\\mycomputer.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe7f4"),
Action = c =>
{
// http://www.pinvoke.net/default.aspx/shell32/SHEmptyRecycleBin.html
// FYI, couldn't find documentation for this but if the recycle bin is already empty, it will return -2147418113 (0x8000FFFF (E_UNEXPECTED))
// 0 for nothing
{
System.Diagnostics.Process.Start("explorer.exe", "shell:mycomputerfolder");
}
@ -217,9 +229,6 @@ namespace Flow.Launcher.Plugin.Sys
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe7fb"),
Action = c =>
{
// http://www.pinvoke.net/default.aspx/shell32/SHEmptyRecycleBin.html
// FYI, couldn't find documentation for this but if the recycle bin is already empty, it will return -2147418113 (0x8000FFFF (E_UNEXPECTED))
// 0 for nothing
{
System.Diagnostics.Process.Start("explorer.exe", "shell:desktop");
}
@ -227,12 +236,117 @@ namespace Flow.Launcher.Plugin.Sys
return true;
}
},
new Result
{
Title = "Libraries",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_libraries"),
IcoPath = "Images\\libraries.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe8f1"),
Action = c =>
{
{
System.Diagnostics.Process.Start("explorer.exe", "shell:Libraries");
}
return true;
}
},
new Result
{
Title = "Pictures",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_pictures"),
IcoPath = "Images\\pictures.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe8b9"),
Action = c =>
{
{
System.Diagnostics.Process.Start("explorer.exe", "shell:My Pictures");
}
return true;
}
},
new Result
{
Title = "Videos",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_videos"),
IcoPath = "Images\\videos.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe714"),
Action = c =>
{
{
System.Diagnostics.Process.Start("explorer.exe", "shell:My Video");
}
return true;
}
},
new Result
{
Title = "Documents",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_documents"),
IcoPath = "Images\\documents.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe8a5"),
Action = c =>
{
{
System.Diagnostics.Process.Start("explorer.exe", "shell:Personal");
}
return true;
}
},
new Result
{
Title = "Music",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_music"),
IcoPath = "Images\\music.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe93c"),
Action = c =>
{
{
System.Diagnostics.Process.Start("explorer.exe", "shell:My Music");
}
return true;
}
},
new Result
{
Title = "Index Option",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_indexoption"),
IcoPath = "Images\\indexoption.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe773"),
Action = c =>
{
{
System.Diagnostics.Process.Start("control.exe", "srchadmin.dll");
}
return true;
}
},
new Result
{
Title = "Downloads",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_downloads"),
IcoPath = "Images\\download.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe7f4"),
Action = c =>
{
{
System.Diagnostics.Process.Start("explorer.exe", "shell:downloads");
}
return true;
}
},
new Result
{
Title = "Empty Recycle Bin",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_emptyrecyclebin"),
IcoPath = "Images\\recyclebin.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe74d"),
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe896"),
Action = c =>
{
// http://www.pinvoke.net/default.aspx/shell32/SHEmptyRecycleBin.html
@ -254,7 +368,7 @@ namespace Flow.Launcher.Plugin.Sys
{
Title = "Open Recycle Bin",
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_openrecyclebin"),
IcoPath = "Images\\recyclebin.png",
IcoPath = "Images\\openrecyclebin.png",
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe74d"),
Action = c =>
{