From 86d7ae7eb903a09f7dea7006acad36711887e326 Mon Sep 17 00:00:00 2001 From: Max Lefebvre Date: Wed, 6 Sep 2023 09:56:15 -0300 Subject: [PATCH] cleanup --- GlazeWM.App/Resources/sample-config.yaml | 4 + GlazeWM.Domain/GlazeWM.Domain.csproj | 15 --- .../Properties/Resources.Designer.cs | 63 --------- GlazeWM.Domain/Properties/Resources.resx | 120 ------------------ GlazeWM.Domain/Windows/Inspector.cs | 15 --- GlazeWM.Domain/Windows/Inspector.resx | 120 ------------------ 6 files changed, 4 insertions(+), 333 deletions(-) delete mode 100644 GlazeWM.Domain/Properties/Resources.Designer.cs delete mode 100644 GlazeWM.Domain/Properties/Resources.resx delete mode 100644 GlazeWM.Domain/Windows/Inspector.resx diff --git a/GlazeWM.App/Resources/sample-config.yaml b/GlazeWM.App/Resources/sample-config.yaml index c4ea145b1..98cea21b8 100644 --- a/GlazeWM.App/Resources/sample-config.yaml +++ b/GlazeWM.App/Resources/sample-config.yaml @@ -247,3 +247,7 @@ keybindings: binding: "Alt+Shift+8" - commands: ["move to workspace 9", "focus workspace 9"] bindings: ["Alt+Shift+9"] + + # Inspect the current window + - command: "inspect" + binding: "Alt+Shift+I" diff --git a/GlazeWM.Domain/GlazeWM.Domain.csproj b/GlazeWM.Domain/GlazeWM.Domain.csproj index 8c7e03ab1..dc36b139a 100644 --- a/GlazeWM.Domain/GlazeWM.Domain.csproj +++ b/GlazeWM.Domain/GlazeWM.Domain.csproj @@ -12,19 +12,4 @@ - - - - True - True - Resources.resx - - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - diff --git a/GlazeWM.Domain/Properties/Resources.Designer.cs b/GlazeWM.Domain/Properties/Resources.Designer.cs deleted file mode 100644 index e03d346c0..000000000 --- a/GlazeWM.Domain/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace GlazeWM.Domain.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GlazeWM.Domain.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/GlazeWM.Domain/Properties/Resources.resx b/GlazeWM.Domain/Properties/Resources.resx deleted file mode 100644 index 1af7de150..000000000 --- a/GlazeWM.Domain/Properties/Resources.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/GlazeWM.Domain/Windows/Inspector.cs b/GlazeWM.Domain/Windows/Inspector.cs index 25507d4f9..0bb75d9e5 100644 --- a/GlazeWM.Domain/Windows/Inspector.cs +++ b/GlazeWM.Domain/Windows/Inspector.cs @@ -12,20 +12,5 @@ public Inspector() MinimizeBox = false; FormBorderStyle = FormBorderStyle.FixedSingle; } - - private void titleCopyButton_Click(object sender, System.EventArgs e) - { - Clipboard.SetText(titleValue.Text); - } - - private void classNameCopyButton_Click(object sender, System.EventArgs e) - { - Clipboard.SetText(classNameValue.Text); - } - - private void processNameCopyButton_Click(object sender, System.EventArgs e) - { - Clipboard.SetText(processNameValue.Text); - } } } diff --git a/GlazeWM.Domain/Windows/Inspector.resx b/GlazeWM.Domain/Windows/Inspector.resx deleted file mode 100644 index af32865ec..000000000 --- a/GlazeWM.Domain/Windows/Inspector.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file