diff --git a/.github/workflows/build-action.yml b/.github/workflows/build-action.yml index 22ee27f..3577ff3 100644 --- a/.github/workflows/build-action.yml +++ b/.github/workflows/build-action.yml @@ -1,11 +1,10 @@ name: build -on: - push: - paths-ignore: - - .github/workflows/* - - README.md +on: pull_request: + paths-ignore: + - .github/workflows/* + - README.md jobs: build: diff --git a/ContextMenu.cs b/ContextMenu.cs index f357f7d..b51d693 100644 --- a/ContextMenu.cs +++ b/ContextMenu.cs @@ -12,7 +12,7 @@ internal static List GetBrowserTabContextMenu(BrowserTab tab) new Result { Title = "Switch to tab", - IcoPath = Main.IconPath, + IcoPath = Main.SwitchTabPath, Action = c => { tab.ActivateTab(); @@ -22,7 +22,7 @@ internal static List GetBrowserTabContextMenu(BrowserTab tab) new Result { Title = "Close tab", - IcoPath = Main.IconPath, + IcoPath = Main.CloseTabPath, Action = c => { tab.CloseTab(); diff --git a/Images/close_tab.png b/Images/close_tab.png new file mode 100644 index 0000000..2f9202e Binary files /dev/null and b/Images/close_tab.png differ diff --git a/Images/icon.png b/Images/icon.png index c3bba36..d90691f 100644 Binary files a/Images/icon.png and b/Images/icon.png differ diff --git a/Images/switch_tab.png b/Images/switch_tab.png new file mode 100644 index 0000000..850773b Binary files /dev/null and b/Images/switch_tab.png differ diff --git a/Main.cs b/Main.cs index fdc6f01..1f14549 100644 --- a/Main.cs +++ b/Main.cs @@ -11,6 +11,8 @@ namespace Flow.Launcher.Plugin.BrowserTabs public class Main : IAsyncPlugin, IPluginI18n, IContextMenu, ISettingProvider { public const string IconPath = "Images/icon.png"; + public const string SwitchTabPath = "Images/switch_tab.png"; + public const string CloseTabPath = "Images/close_tab.png"; private SettingWindow? SettingWindow; diff --git a/plugin.json b/plugin.json index ff27a69..b06d7e3 100644 --- a/plugin.json +++ b/plugin.json @@ -4,7 +4,7 @@ "Name": "Browser Tabs", "Description": "Search, activate, or close browser tabs. A centralized plugin for managing all open tabs in your browser", "Author": "Jeremy Wu", - "Version": "1.0.1", + "Version": "1.0.2", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.BrowserTabs", "ExecuteFileName": "Flow.Launcher.Plugin.BrowserTabs.dll",