Skip to content

Commit 0fbfad0

Browse files
committed
Fix indent format
1 parent d73dedc commit 0fbfad0

File tree

2 files changed

+42
-43
lines changed

2 files changed

+42
-43
lines changed

Plugins/Flow.Launcher.Plugin.ProcessKiller/ProcessHelper.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ internal class ProcessHelper
1919
private readonly HashSet<string> _systemProcessList =
2020
[
2121
"conhost",
22-
"svchost",
23-
"idle",
24-
"system",
25-
"rundll32",
26-
"csrss",
27-
"lsass",
28-
"lsm",
29-
"smss",
30-
"wininit",
31-
"winlogon",
32-
"services",
33-
"spoolsv",
34-
"explorer"
22+
"svchost",
23+
"idle",
24+
"system",
25+
"rundll32",
26+
"csrss",
27+
"lsass",
28+
"lsm",
29+
"smss",
30+
"wininit",
31+
"winlogon",
32+
"services",
33+
"spoolsv",
34+
"explorer"
3535
];
3636

3737
private const string FlowLauncherProcessName = "Flow.Launcher";

Plugins/Flow.Launcher.Plugin.Shell/Main.cs

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -439,41 +439,41 @@ public string GetTranslatedPluginDescription()
439439
public List<Result> LoadContextMenus(Result selectedResult)
440440
{
441441
var results = new List<Result>
442-
{
443-
new()
444442
{
445-
Title = Localize.flowlauncher_plugin_cmd_run_as_different_user(),
446-
Action = c =>
443+
new()
447444
{
448-
Execute(ShellCommand.RunAsDifferentUser, PrepareProcessStartInfo(selectedResult.Title));
449-
return true;
445+
Title = Localize.flowlauncher_plugin_cmd_run_as_different_user(),
446+
Action = c =>
447+
{
448+
Execute(ShellCommand.RunAsDifferentUser, PrepareProcessStartInfo(selectedResult.Title));
449+
return true;
450+
},
451+
IcoPath = "Images/user.png",
452+
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\xe7ee")
450453
},
451-
IcoPath = "Images/user.png",
452-
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\xe7ee")
453-
},
454-
new()
455-
{
456-
Title = Localize.flowlauncher_plugin_cmd_run_as_administrator(),
457-
Action = c =>
454+
new()
458455
{
459-
Execute(Process.Start, PrepareProcessStartInfo(selectedResult.Title, true));
460-
return true;
456+
Title = Localize.flowlauncher_plugin_cmd_run_as_administrator(),
457+
Action = c =>
458+
{
459+
Execute(Process.Start, PrepareProcessStartInfo(selectedResult.Title, true));
460+
return true;
461+
},
462+
IcoPath = "Images/admin.png",
463+
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\xe7ef")
461464
},
462-
IcoPath = "Images/admin.png",
463-
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\xe7ef")
464-
},
465-
new()
466-
{
467-
Title = Localize.flowlauncher_plugin_cmd_copy(),
468-
Action = c =>
465+
new()
469466
{
470-
Context.API.CopyToClipboard(selectedResult.Title);
471-
return true;
472-
},
473-
IcoPath = "Images/copy.png",
474-
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\xe8c8")
475-
}
476-
};
467+
Title = Localize.flowlauncher_plugin_cmd_copy(),
468+
Action = c =>
469+
{
470+
Context.API.CopyToClipboard(selectedResult.Title);
471+
return true;
472+
},
473+
IcoPath = "Images/copy.png",
474+
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\xe8c8")
475+
}
476+
};
477477

478478
return results;
479479
}
@@ -483,5 +483,4 @@ public void Dispose()
483483
Context.API.RemoveGlobalKeyboardCallback(API_GlobalKeyboardEvent);
484484
}
485485
}
486-
487486
}

0 commit comments

Comments
 (0)