diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/desktop.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/desktop.png index cec17d345..87f07f3d5 100644 Binary files a/Plugins/Flow.Launcher.Plugin.Sys/Images/desktop.png and b/Plugins/Flow.Launcher.Plugin.Sys/Images/desktop.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/documents.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/documents.png new file mode 100644 index 000000000..3e7c64f10 Binary files /dev/null and b/Plugins/Flow.Launcher.Plugin.Sys/Images/documents.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/download.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/download.png new file mode 100644 index 000000000..db35521aa Binary files /dev/null and b/Plugins/Flow.Launcher.Plugin.Sys/Images/download.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/explorer.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/explorer.png new file mode 100644 index 000000000..4249a1593 Binary files /dev/null and b/Plugins/Flow.Launcher.Plugin.Sys/Images/explorer.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/indexoption.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/indexoption.png new file mode 100644 index 000000000..5c2e99a67 Binary files /dev/null and b/Plugins/Flow.Launcher.Plugin.Sys/Images/indexoption.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/libraries.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/libraries.png new file mode 100644 index 000000000..9244bc88c Binary files /dev/null and b/Plugins/Flow.Launcher.Plugin.Sys/Images/libraries.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/music.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/music.png new file mode 100644 index 000000000..77067aaa4 Binary files /dev/null and b/Plugins/Flow.Launcher.Plugin.Sys/Images/music.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/mycomputer.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/mycomputer.png index 0e190cdb9..aa3eb22fc 100644 Binary files a/Plugins/Flow.Launcher.Plugin.Sys/Images/mycomputer.png and b/Plugins/Flow.Launcher.Plugin.Sys/Images/mycomputer.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/openrecyclebin.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/openrecyclebin.png new file mode 100644 index 000000000..769514ad2 Binary files /dev/null and b/Plugins/Flow.Launcher.Plugin.Sys/Images/openrecyclebin.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/pictures.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/pictures.png new file mode 100644 index 000000000..1a86804e3 Binary files /dev/null and b/Plugins/Flow.Launcher.Plugin.Sys/Images/pictures.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/recyclebin.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/recyclebin.png index 878a02189..745b34935 100644 Binary files a/Plugins/Flow.Launcher.Plugin.Sys/Images/recyclebin.png and b/Plugins/Flow.Launcher.Plugin.Sys/Images/recyclebin.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Images/videos.png b/Plugins/Flow.Launcher.Plugin.Sys/Images/videos.png new file mode 100644 index 000000000..8f6cb677f Binary files /dev/null and b/Plugins/Flow.Launcher.Plugin.Sys/Images/videos.png differ diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml index ab37ccd64..2289423c8 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml @@ -18,8 +18,16 @@ Put computer to sleep Empty recycle bin Open recycle bin - Open my computer + My PC Desktop + Libraries + Explorer + Pictures + Music + Videos + Downloads + Documents + Indexing Options Hibernate computer Save all Flow Launcher settings Refreshes plugin data with new content diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/ko.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/ko.xaml index 601835612..d8fa667c2 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/ko.xaml +++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/ko.xaml @@ -19,8 +19,16 @@ PC를 절전모드로 전환 휴지통 비우기 휴지통 열기 - 내 컴퓨터 + 내 PC 바탕 화면 + 라이브러리 + 파일 탐색기 + 사진 + 음악 + 비디오 + 다운로드 + 문서 + 색인 옵션 최대 절전 모드 Flow Launcher 설정 저장 플러그인 데이터를 새 콘텐츠와 함께 다시 로드 diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs index d05cbdfbf..fb47dede4 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs @@ -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 => {