Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

refactor(all): rename solution to GlazeWM

Lars Bergerceb66c11f9a6
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 67d52566..5ca4c0d7 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -10,9 +10,9 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
- "program": "${workspaceFolder}/LarsWM.Bootstrapper/bin/Debug/netcoreapp3.1/LarsWM.Bootstrapper.dll",
+ "program": "${workspaceFolder}/GlazeWM.Bootstrapper/bin/Debug/netcoreapp3.1/GlazeWM.Bootstrapper.dll",
"args": [],
- "cwd": "${workspaceFolder}/LarsWM.Bootstrapper",
+ "cwd": "${workspaceFolder}/GlazeWM.Bootstrapper",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 75f31a9a..7bbaadde 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -7,7 +7,7 @@
"type": "process",
"args": [
"build",
- "${workspaceFolder}/LarsWM.Bootstrapper/LarsWM.Bootstrapper.csproj",
+ "${workspaceFolder}/GlazeWM.Bootstrapper/GlazeWM.Bootstrapper.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
@@ -19,7 +19,7 @@
"type": "process",
"args": [
"publish",
- "${workspaceFolder}/LarsWM.Bootstrapper/LarsWM.Bootstrapper.csproj",
+ "${workspaceFolder}/GlazeWM.Bootstrapper/GlazeWM.Bootstrapper.csproj",
"--configuration=Release",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
@@ -33,7 +33,7 @@
"args": [
"watch",
"run",
- "${workspaceFolder}/LarsWM.Bootstrapper/LarsWM.Bootstrapper.csproj",
+ "${workspaceFolder}/GlazeWM.Bootstrapper/GlazeWM.Bootstrapper.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
diff --git a/LarsWM.Bar/App.xaml b/GlazeWM.Bar/App.xaml
similarity index 73%
rename from LarsWM.Bar/App.xaml
rename to GlazeWM.Bar/App.xaml
index 672deeb1..d30d69bc 100644
--- a/LarsWM.Bar/App.xaml
+++ b/GlazeWM.Bar/App.xaml
@@ -1,8 +1,8 @@
-<Application
- x:Class="LarsWM.Bar.App"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="clr-namespace:LarsWM.Bar"
- StartupUri="MainWindow.xaml">
- <Application.Resources />
-</Application>
+<Application
+ x:Class="GlazeWM.Bar.App"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:local="clr-namespace:GlazeWM.Bar"
+ StartupUri="MainWindow.xaml">
+ <Application.Resources />
+</Application>
diff --git a/LarsWM.Bar/App.xaml.cs b/GlazeWM.Bar/App.xaml.cs
similarity index 88%
rename from LarsWM.Bar/App.xaml.cs
rename to GlazeWM.Bar/App.xaml.cs
index bebc3dce..d753f877 100644
--- a/LarsWM.Bar/App.xaml.cs
+++ b/GlazeWM.Bar/App.xaml.cs
@@ -1,17 +1,17 @@
-using System;
-using System.Collections.Generic;
-using System.Configuration;
-using System.Data;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows;
-
-namespace LarsWM.Bar
-{
- /// <summary>
- /// Interaction logic for App.xaml
- /// </summary>
- public partial class App : Application
- {
- }
-}
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace GlazeWM.Bar
+{
+ /// <summary>
+ /// Interaction logic for App.xaml
+ /// </summary>
+ public partial class App : Application
+ {
+ }
+}
diff --git a/LarsWM.Bar/AssemblyInfo.cs b/GlazeWM.Bar/AssemblyInfo.cs
similarity index 98%
rename from LarsWM.Bar/AssemblyInfo.cs
rename to GlazeWM.Bar/AssemblyInfo.cs
index 74087a1f..8b5504ec 100644
--- a/LarsWM.Bar/AssemblyInfo.cs
+++ b/GlazeWM.Bar/AssemblyInfo.cs
@@ -1,10 +1,10 @@
-using System.Windows;
-
-[assembly: ThemeInfo(
- ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
- //(used if a resource is not found in the page,
- // or application resource dictionaries)
- ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
- //(used if a resource is not found in the page,
- // app, or any theme specific resource dictionaries)
-)]
+using System.Windows;
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
diff --git a/LarsWM.Bar/BarManagerService.cs b/GlazeWM.Bar/BarManagerService.cs
similarity index 84%
rename from LarsWM.Bar/BarManagerService.cs
rename to GlazeWM.Bar/BarManagerService.cs
index f170b155..193c416f 100644
--- a/LarsWM.Bar/BarManagerService.cs
+++ b/GlazeWM.Bar/BarManagerService.cs
@@ -1,12 +1,12 @@
-using LarsWM.Domain.Monitors.Events;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Monitors.Events;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Infrastructure.Bussing;
using System.Reactive.Linq;
using System;
using System.Threading;
-using LarsWM.Domain.UserConfigs;
+using GlazeWM.Domain.UserConfigs;
-namespace LarsWM.Bar
+namespace GlazeWM.Bar
{
public class BarManagerService
{
@@ -41,7 +41,7 @@ namespace LarsWM.Bar
application.Run();
});
- thread.Name = "LarsWMBar";
+ thread.Name = "GlazeWMBar";
thread.SetApartmentState(ApartmentState.STA);
thread.Start();
}
diff --git a/LarsWM.Bar/DependencyInjection.cs b/GlazeWM.Bar/DependencyInjection.cs
similarity index 92%
rename from LarsWM.Bar/DependencyInjection.cs
rename to GlazeWM.Bar/DependencyInjection.cs
index 9e5e85f5..0f368e08 100644
--- a/LarsWM.Bar/DependencyInjection.cs
+++ b/GlazeWM.Bar/DependencyInjection.cs
@@ -1,6 +1,6 @@
using Microsoft.Extensions.DependencyInjection;
-namespace LarsWM.Bar
+namespace GlazeWM.Bar
{
public static class DependencyInjection
{
diff --git a/LarsWM.Bar/LarsWM.Bar.csproj b/GlazeWM.Bar/GlazeWM.Bar.csproj
similarity index 63%
rename from LarsWM.Bar/LarsWM.Bar.csproj
rename to GlazeWM.Bar/GlazeWM.Bar.csproj
index 11a35166..eef05db5 100644
--- a/LarsWM.Bar/LarsWM.Bar.csproj
+++ b/GlazeWM.Bar/GlazeWM.Bar.csproj
@@ -1,15 +1,15 @@
-<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
-
- <PropertyGroup>
- <OutputType>WinExe</OutputType>
- <TargetFramework>netcoreapp3.1</TargetFramework>
- <RuntimeFrameworkVersion>3.1.0</RuntimeFrameworkVersion>
- <UseWPF>true</UseWPF>
- </PropertyGroup>
-
- <ItemGroup>
- <ProjectReference Include="..\LarsWM.Domain\LarsWM.Domain.csproj" />
- <ProjectReference Include="..\LarsWM.Infrastructure\LarsWM.Infrastructure.csproj" />
- </ItemGroup>
-
-</Project>
+<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
+
+ <PropertyGroup>
+ <OutputType>WinExe</OutputType>
+ <TargetFramework>netcoreapp3.1</TargetFramework>
+ <RuntimeFrameworkVersion>3.1.0</RuntimeFrameworkVersion>
+ <UseWPF>true</UseWPF>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="..\GlazeWM.Domain\GlazeWM.Domain.csproj" />
+ <ProjectReference Include="..\GlazeWM.Infrastructure\GlazeWM.Infrastructure.csproj" />
+ </ItemGroup>
+
+</Project>
diff --git a/LarsWM.Bar/MainWindow.xaml b/GlazeWM.Bar/MainWindow.xaml
similarity index 93%
rename from LarsWM.Bar/MainWindow.xaml
rename to GlazeWM.Bar/MainWindow.xaml
index d67cb123..39fef7b3 100644
--- a/LarsWM.Bar/MainWindow.xaml
+++ b/GlazeWM.Bar/MainWindow.xaml
@@ -1,77 +1,77 @@
-<Window
- x:Class="LarsWM.Bar.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:LarsWM.Bar"
- mc:Ignorable="d"
- WindowStyle="None"
- ResizeMode="NoResize"
- Background="#101010"
- Title="LarsWMBar"
- ShowInTaskbar="False"
- Width="800"
- Height="50"
- Topmost="True">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="10" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="10" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="10" />
- <RowDefinition Height="*" />
- <RowDefinition Height="10" />
- </Grid.RowDefinitions>
-
- <ItemsControl
- Grid.Column="1"
- Grid.Row="1"
- x:Name="WorkspaceItems">
- <ItemsControl.ItemsPanel>
- <ItemsPanelTemplate>
- <UniformGrid
- Columns="10"
- HorizontalAlignment="Left"
- IsItemsHost="True" />
- </ItemsPanelTemplate>
- </ItemsControl.ItemsPanel>
-
- <ItemsControl.ItemTemplate>
- <DataTemplate>
- <Button
- x:Name="WorkspaceButton"
- Click="OnWorkspaceButtonClick"
- Content="{Binding Name}"
- Background="#242424"
- Foreground="White"
- BorderBrush="Transparent"
- BorderThickness="0"
- MinWidth="{Binding ActualHeight, RelativeSource={RelativeSource Self}}"
- MinHeight="{Binding ActualWidth, RelativeSource={RelativeSource Self}}" />
-
- <DataTemplate.Triggers>
- <DataTrigger
- Binding="{Binding IsDisplayed}"
- Value="True">
- <Setter
- TargetName="WorkspaceButton"
- Property="Background"
- Value="#42403e" />
- </DataTrigger>
- <DataTrigger
- Binding="{Binding HasFocus}"
- Value="True">
- <Setter
- TargetName="WorkspaceButton"
- Property="Background"
- Value="Orange" />
- </DataTrigger>
- </DataTemplate.Triggers>
- </DataTemplate>
- </ItemsControl.ItemTemplate>
- </ItemsControl>
- </Grid>
-</Window>
+<Window
+ x:Class="GlazeWM.Bar.MainWindow"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:local="clr-namespace:GlazeWM.Bar"
+ mc:Ignorable="d"
+ WindowStyle="None"
+ ResizeMode="NoResize"
+ Background="#101010"
+ Title="GlazeWMBar"
+ ShowInTaskbar="False"
+ Width="800"
+ Height="50"
+ Topmost="True">
+ <Grid>
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="10" />
+ <ColumnDefinition Width="*" />
+ <ColumnDefinition Width="10" />
+ </Grid.ColumnDefinitions>
+ <Grid.RowDefinitions>
+ <RowDefinition Height="10" />
+ <RowDefinition Height="*" />
+ <RowDefinition Height="10" />
+ </Grid.RowDefinitions>
+
+ <ItemsControl
+ Grid.Column="1"
+ Grid.Row="1"
+ x:Name="WorkspaceItems">
+ <ItemsControl.ItemsPanel>
+ <ItemsPanelTemplate>
+ <UniformGrid
+ Columns="10"
+ HorizontalAlignment="Left"
+ IsItemsHost="True" />
+ </ItemsPanelTemplate>
+ </ItemsControl.ItemsPanel>
+
+ <ItemsControl.ItemTemplate>
+ <DataTemplate>
+ <Button
+ x:Name="WorkspaceButton"
+ Click="OnWorkspaceButtonClick"
+ Content="{Binding Name}"
+ Background="#242424"
+ Foreground="White"
+ BorderBrush="Transparent"
+ BorderThickness="0"
+ MinWidth="{Binding ActualHeight, RelativeSource={RelativeSource Self}}"
+ MinHeight="{Binding ActualWidth, RelativeSource={RelativeSource Self}}" />
+
+ <DataTemplate.Triggers>
+ <DataTrigger
+ Binding="{Binding IsDisplayed}"
+ Value="True">
+ <Setter
+ TargetName="WorkspaceButton"
+ Property="Background"
+ Value="#42403e" />
+ </DataTrigger>
+ <DataTrigger
+ Binding="{Binding HasFocus}"
+ Value="True">
+ <Setter
+ TargetName="WorkspaceButton"
+ Property="Background"
+ Value="Orange" />
+ </DataTrigger>
+ </DataTemplate.Triggers>
+ </DataTemplate>
+ </ItemsControl.ItemTemplate>
+ </ItemsControl>
+ </Grid>
+</Window>
diff --git a/LarsWM.Bar/MainWindow.xaml.cs b/GlazeWM.Bar/MainWindow.xaml.cs
similarity index 87%
rename from LarsWM.Bar/MainWindow.xaml.cs
rename to GlazeWM.Bar/MainWindow.xaml.cs
index e32eae20..a2ad8a50 100644
--- a/LarsWM.Bar/MainWindow.xaml.cs
+++ b/GlazeWM.Bar/MainWindow.xaml.cs
@@ -1,90 +1,90 @@
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Domain.Workspaces.Events;
-using LarsWM.Infrastructure.Bussing;
-using System.Collections.ObjectModel;
-using System.Reactive.Linq;
-using System;
-using System.Windows;
-using System.Windows.Controls;
-using LarsWM.Domain.Containers.Events;
-using LarsWM.Domain.UserConfigs;
-using System.Windows.Interop;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
-
-namespace LarsWM.Bar
-{
- /// <summary>
- /// Interaction logic for MainWindow.xaml
- /// </summary>
- public partial class MainWindow : Window
- {
- private Monitor _monitor { get; }
- private Bus _bus { get; }
- private WorkspaceService _workspaceService { get; }
- private UserConfigService _userConfigService { get; }
- private ObservableCollection<Workspace> _workspaces = new ObservableCollection<Workspace>();
-
- public MainWindow(Monitor monitor, WorkspaceService workspaceService, Bus bus, UserConfigService userConfigService)
- {
- _monitor = monitor;
- _bus = bus;
- _workspaceService = workspaceService;
- _userConfigService = userConfigService;
-
- InitializeComponent();
- SourceInitialized += MainWindow_SourceInitialized;
-
- RefreshState(monitor);
- WorkspaceItems.ItemsSource = _workspaces;
-
- var workspaceAttachedEvent = _bus.Events.Where(@event => @event is WorkspaceAttachedEvent);
- var workspaceDetachedEvent = _bus.Events.Where(@event => @event is WorkspaceDetachedEvent);
- var focusChangedEvent = _bus.Events.Where(@event => @event is FocusChangedEvent);
-
- // Refresh contents of items source.
- Observable.Merge(workspaceAttachedEvent, workspaceDetachedEvent, focusChangedEvent)
- .Subscribe(_observer => Dispatcher.Invoke(() => RefreshState(monitor)));
- }
-
- private void RefreshState(Monitor monitor)
- {
- _workspaces.Clear();
-
- foreach (var workspace in monitor.Children)
- _workspaces.Add(workspace as Workspace);
- }
-
- private void MainWindow_SourceInitialized(object sender, EventArgs e)
- {
- PositionWindow();
- }
-
- /// <summary>
- /// Position and size the WPF window manually using WinAPI. When using `PerMonitorAwareV2` DPI
- /// awareness, positioning the window with WPF bindings is ambiguous and annoying.
- /// Ref: https://github.com/dotnet/wpf/issues/4127#issuecomment-790194817
- /// </summary>
- public void PositionWindow()
- {
- var windowHandle = new WindowInteropHelper(this).Handle;
-
- // Since window size is set manually, need to scale up height to make window DPI responsive.
- var scaledHeight = Convert.ToInt32(_userConfigService.UserConfig.Bar.Height * _monitor.ScaleFactor);
-
- // The first move puts it on the correct monitor, which triggers WM_DPICHANGED.
- // The +1/-1 coerces WPF to update Top/Left/Width/Height in the second move.
- MoveWindow(windowHandle, _monitor.X + 1, _monitor.Y, _monitor.Width - 1, scaledHeight, false);
- MoveWindow(windowHandle, _monitor.X, _monitor.Y, _monitor.Width, scaledHeight, true);
- }
-
- private void OnWorkspaceButtonClick(object sender, RoutedEventArgs e)
- {
- var button = sender as Button;
- var clickedWorkspace = button.DataContext as Workspace;
-
- _bus.Invoke(new FocusWorkspaceCommand(clickedWorkspace.Name));
- }
- }
-}
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Domain.Workspaces.Events;
+using GlazeWM.Infrastructure.Bussing;
+using System.Collections.ObjectModel;
+using System.Reactive.Linq;
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using GlazeWM.Domain.Containers.Events;
+using GlazeWM.Domain.UserConfigs;
+using System.Windows.Interop;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
+
+namespace GlazeWM.Bar
+{
+ /// <summary>
+ /// Interaction logic for MainWindow.xaml
+ /// </summary>
+ public partial class MainWindow : Window
+ {
+ private Monitor _monitor { get; }
+ private Bus _bus { get; }
+ private WorkspaceService _workspaceService { get; }
+ private UserConfigService _userConfigService { get; }
+ private ObservableCollection<Workspace> _workspaces = new ObservableCollection<Workspace>();
+
+ public MainWindow(Monitor monitor, WorkspaceService workspaceService, Bus bus, UserConfigService userConfigService)
+ {
+ _monitor = monitor;
+ _bus = bus;
+ _workspaceService = workspaceService;
+ _userConfigService = userConfigService;
+
+ InitializeComponent();
+ SourceInitialized += MainWindow_SourceInitialized;
+
+ RefreshState(monitor);
+ WorkspaceItems.ItemsSource = _workspaces;
+
+ var workspaceAttachedEvent = _bus.Events.Where(@event => @event is WorkspaceAttachedEvent);
+ var workspaceDetachedEvent = _bus.Events.Where(@event => @event is WorkspaceDetachedEvent);
+ var focusChangedEvent = _bus.Events.Where(@event => @event is FocusChangedEvent);
+
+ // Refresh contents of items source.
+ Observable.Merge(workspaceAttachedEvent, workspaceDetachedEvent, focusChangedEvent)
+ .Subscribe(_observer => Dispatcher.Invoke(() => RefreshState(monitor)));
+ }
+
+ private void RefreshState(Monitor monitor)
+ {
+ _workspaces.Clear();
+
+ foreach (var workspace in monitor.Children)
+ _workspaces.Add(workspace as Workspace);
+ }
+
+ private void MainWindow_SourceInitialized(object sender, EventArgs e)
+ {
+ PositionWindow();
+ }
+
+ /// <summary>
+ /// Position and size the WPF window manually using WinAPI. When using `PerMonitorAwareV2` DPI
+ /// awareness, positioning the window with WPF bindings is ambiguous and annoying.
+ /// Ref: https://github.com/dotnet/wpf/issues/4127#issuecomment-790194817
+ /// </summary>
+ public void PositionWindow()
+ {
+ var windowHandle = new WindowInteropHelper(this).Handle;
+
+ // Since window size is set manually, need to scale up height to make window DPI responsive.
+ var scaledHeight = Convert.ToInt32(_userConfigService.UserConfig.Bar.Height * _monitor.ScaleFactor);
+
+ // The first move puts it on the correct monitor, which triggers WM_DPICHANGED.
+ // The +1/-1 coerces WPF to update Top/Left/Width/Height in the second move.
+ MoveWindow(windowHandle, _monitor.X + 1, _monitor.Y, _monitor.Width - 1, scaledHeight, false);
+ MoveWindow(windowHandle, _monitor.X, _monitor.Y, _monitor.Width, scaledHeight, true);
+ }
+
+ private void OnWorkspaceButtonClick(object sender, RoutedEventArgs e)
+ {
+ var button = sender as Button;
+ var clickedWorkspace = button.DataContext as Workspace;
+
+ _bus.Invoke(new FocusWorkspaceCommand(clickedWorkspace.Name));
+ }
+ }
+}
diff --git a/LarsWM.Bootstrapper/LarsWM.Bootstrapper.csproj b/GlazeWM.Bootstrapper/GlazeWM.Bootstrapper.csproj
similarity index 58%
rename from LarsWM.Bootstrapper/LarsWM.Bootstrapper.csproj
rename to GlazeWM.Bootstrapper/GlazeWM.Bootstrapper.csproj
index d5529999..9a732988 100644
--- a/LarsWM.Bootstrapper/LarsWM.Bootstrapper.csproj
+++ b/GlazeWM.Bootstrapper/GlazeWM.Bootstrapper.csproj
@@ -8,9 +8,9 @@
</PropertyGroup>
<ItemGroup>
- <ProjectReference Include="..\LarsWM.Bar\LarsWM.Bar.csproj" />
- <ProjectReference Include="..\LarsWM.Domain\LarsWM.Domain.csproj" />
- <ProjectReference Include="..\LarsWM.Infrastructure\LarsWM.Infrastructure.csproj" />
+ <ProjectReference Include="..\GlazeWM.Bar\GlazeWM.Bar.csproj" />
+ <ProjectReference Include="..\GlazeWM.Domain\GlazeWM.Domain.csproj" />
+ <ProjectReference Include="..\GlazeWM.Infrastructure\GlazeWM.Infrastructure.csproj" />
</ItemGroup>
</Project>
diff --git a/LarsWM.Bootstrapper/Program.cs b/GlazeWM.Bootstrapper/Program.cs
similarity index 83%
rename from LarsWM.Bootstrapper/Program.cs
rename to GlazeWM.Bootstrapper/Program.cs
index b9994af3..3e302611 100644
--- a/LarsWM.Bootstrapper/Program.cs
+++ b/GlazeWM.Bootstrapper/Program.cs
@@ -1,12 +1,12 @@
-using LarsWM.Bar;
-using LarsWM.Domain;
-using LarsWM.Infrastructure;
+using GlazeWM.Bar;
+using GlazeWM.Domain;
+using GlazeWM.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Diagnostics;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Bootstrapper
+namespace GlazeWM.Bootstrapper
{
static class Program
{
diff --git a/LarsWM.Bootstrapper/Startup.cs b/GlazeWM.Bootstrapper/Startup.cs
similarity index 85%
rename from LarsWM.Bootstrapper/Startup.cs
rename to GlazeWM.Bootstrapper/Startup.cs
index 16c49f2a..58420291 100644
--- a/LarsWM.Bootstrapper/Startup.cs
+++ b/GlazeWM.Bootstrapper/Startup.cs
@@ -1,20 +1,20 @@
-using LarsWM.Bar;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.Monitors.Commands;
-using LarsWM.Domain.UserConfigs.Commands;
-using LarsWM.Domain.Windows;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.WindowsApi;
+using GlazeWM.Bar;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.Monitors.Commands;
+using GlazeWM.Domain.UserConfigs.Commands;
+using GlazeWM.Domain.Windows;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.WindowsApi;
using System.Linq;
using System.Windows.Forms;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Bootstrapper
+namespace GlazeWM.Bootstrapper
{
class Startup
{
diff --git a/LarsWM.Domain/Common/Enums/Direction.cs b/GlazeWM.Domain/Common/Enums/Direction.cs
similarity index 96%
rename from LarsWM.Domain/Common/Enums/Direction.cs
rename to GlazeWM.Domain/Common/Enums/Direction.cs
index 85e644c3..16997870 100644
--- a/LarsWM.Domain/Common/Enums/Direction.cs
+++ b/GlazeWM.Domain/Common/Enums/Direction.cs
@@ -1,6 +1,6 @@
using System;
-namespace LarsWM.Domain.Common.Enums
+namespace GlazeWM.Domain.Common.Enums
{
public enum Direction
{
diff --git a/LarsWM.Domain/Common/Enums/Layout.cs b/GlazeWM.Domain/Common/Enums/Layout.cs
similarity index 60%
rename from LarsWM.Domain/Common/Enums/Layout.cs
rename to GlazeWM.Domain/Common/Enums/Layout.cs
index e7e754a1..48beab21 100644
--- a/LarsWM.Domain/Common/Enums/Layout.cs
+++ b/GlazeWM.Domain/Common/Enums/Layout.cs
@@ -1,4 +1,4 @@
-namespace LarsWM.Domain.Common.Enums
+namespace GlazeWM.Domain.Common.Enums
{
public enum Layout
{
diff --git a/LarsWM.Domain/Common/Enums/ResizeDirection.cs b/GlazeWM.Domain/Common/Enums/ResizeDirection.cs
similarity index 73%
rename from LarsWM.Domain/Common/Enums/ResizeDirection.cs
rename to GlazeWM.Domain/Common/Enums/ResizeDirection.cs
index bf05810c..0d49520f 100644
--- a/LarsWM.Domain/Common/Enums/ResizeDirection.cs
+++ b/GlazeWM.Domain/Common/Enums/ResizeDirection.cs
@@ -1,4 +1,4 @@
-namespace LarsWM.Domain.Common.Enums
+namespace GlazeWM.Domain.Common.Enums
{
public enum ResizeDirection
{
diff --git a/LarsWM.Domain/Common/Models/WindowLocation.cs b/GlazeWM.Domain/Common/Models/WindowLocation.cs
similarity index 89%
rename from LarsWM.Domain/Common/Models/WindowLocation.cs
rename to GlazeWM.Domain/Common/Models/WindowLocation.cs
index eca18323..fb71ff31 100644
--- a/LarsWM.Domain/Common/Models/WindowLocation.cs
+++ b/GlazeWM.Domain/Common/Models/WindowLocation.cs
@@ -1,4 +1,4 @@
-namespace LarsWM.Domain.Common.Models
+namespace GlazeWM.Domain.Common.Models
{
public class WindowLocation
{
diff --git a/LarsWM.Domain/Containers/CommandHandlers/AttachContainerHandler.cs b/GlazeWM.Domain/Containers/CommandHandlers/AttachContainerHandler.cs
similarity index 90%
rename from LarsWM.Domain/Containers/CommandHandlers/AttachContainerHandler.cs
rename to GlazeWM.Domain/Containers/CommandHandlers/AttachContainerHandler.cs
index 70168004..564bb175 100644
--- a/LarsWM.Domain/Containers/CommandHandlers/AttachContainerHandler.cs
+++ b/GlazeWM.Domain/Containers/CommandHandlers/AttachContainerHandler.cs
@@ -1,7 +1,7 @@
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.CommandHandlers
+namespace GlazeWM.Domain.Containers.CommandHandlers
{
class AttachContainerHandler : ICommandHandler<AttachContainerCommand>
{
diff --git a/LarsWM.Domain/Containers/CommandHandlers/ChangeContainerLayoutHandler.cs b/GlazeWM.Domain/Containers/CommandHandlers/ChangeContainerLayoutHandler.cs
similarity index 92%
rename from LarsWM.Domain/Containers/CommandHandlers/ChangeContainerLayoutHandler.cs
rename to GlazeWM.Domain/Containers/CommandHandlers/ChangeContainerLayoutHandler.cs
index 95fc29fe..fead19bd 100644
--- a/LarsWM.Domain/Containers/CommandHandlers/ChangeContainerLayoutHandler.cs
+++ b/GlazeWM.Domain/Containers/CommandHandlers/ChangeContainerLayoutHandler.cs
@@ -1,12 +1,12 @@
using System.Collections.Generic;
using System.Linq;
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Windows;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Windows;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.CommandHandlers
+namespace GlazeWM.Domain.Containers.CommandHandlers
{
class ChangeContainerLayoutHandler : ICommandHandler<ChangeContainerLayoutCommand>
{
diff --git a/LarsWM.Domain/Containers/CommandHandlers/ChangeFocusedContainerLayoutHandler.cs b/GlazeWM.Domain/Containers/CommandHandlers/ChangeFocusedContainerLayoutHandler.cs
similarity index 79%
rename from LarsWM.Domain/Containers/CommandHandlers/ChangeFocusedContainerLayoutHandler.cs
rename to GlazeWM.Domain/Containers/CommandHandlers/ChangeFocusedContainerLayoutHandler.cs
index d06e203d..41717819 100644
--- a/LarsWM.Domain/Containers/CommandHandlers/ChangeFocusedContainerLayoutHandler.cs
+++ b/GlazeWM.Domain/Containers/CommandHandlers/ChangeFocusedContainerLayoutHandler.cs
@@ -1,9 +1,9 @@
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Windows;
-using LarsWM.Infrastructure.Bussing;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Windows;
+using GlazeWM.Infrastructure.Bussing;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Domain.Containers.CommandHandlers
+namespace GlazeWM.Domain.Containers.CommandHandlers
{
class ChangeFocusedContainerLayoutHandler : ICommandHandler<ChangeFocusedContainerLayoutCommand>
{
diff --git a/LarsWM.Domain/Containers/CommandHandlers/DetachContainerHandler.cs b/GlazeWM.Domain/Containers/CommandHandlers/DetachContainerHandler.cs
similarity index 92%
rename from LarsWM.Domain/Containers/CommandHandlers/DetachContainerHandler.cs
rename to GlazeWM.Domain/Containers/CommandHandlers/DetachContainerHandler.cs
index bcda3e3e..c80315dd 100644
--- a/LarsWM.Domain/Containers/CommandHandlers/DetachContainerHandler.cs
+++ b/GlazeWM.Domain/Containers/CommandHandlers/DetachContainerHandler.cs
@@ -1,9 +1,9 @@
using System.Linq;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.CommandHandlers
+namespace GlazeWM.Domain.Containers.CommandHandlers
{
class DetachContainerHandler : ICommandHandler<DetachContainerCommand>
{
diff --git a/LarsWM.Domain/Containers/CommandHandlers/FocusInDirectionHandler.cs b/GlazeWM.Domain/Containers/CommandHandlers/FocusInDirectionHandler.cs
similarity index 90%
rename from LarsWM.Domain/Containers/CommandHandlers/FocusInDirectionHandler.cs
rename to GlazeWM.Domain/Containers/CommandHandlers/FocusInDirectionHandler.cs
index d7dfb76b..cf282b40 100644
--- a/LarsWM.Domain/Containers/CommandHandlers/FocusInDirectionHandler.cs
+++ b/GlazeWM.Domain/Containers/CommandHandlers/FocusInDirectionHandler.cs
@@ -1,13 +1,13 @@
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.Windows;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Infrastructure.Bussing;
-
-namespace LarsWM.Domain.Containers.CommandHandlers
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.Windows;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Infrastructure.Bussing;
+
+namespace GlazeWM.Domain.Containers.CommandHandlers
{
class FocusInDirectionHandler : ICommandHandler<FocusInDirectionCommand>
{
diff --git a/LarsWM.Domain/Containers/CommandHandlers/RedrawContainersHandler.cs b/GlazeWM.Domain/Containers/CommandHandlers/RedrawContainersHandler.cs
similarity index 88%
rename from LarsWM.Domain/Containers/CommandHandlers/RedrawContainersHandler.cs
rename to GlazeWM.Domain/Containers/CommandHandlers/RedrawContainersHandler.cs
index 5459c9cb..b664551a 100644
--- a/LarsWM.Domain/Containers/CommandHandlers/RedrawContainersHandler.cs
+++ b/GlazeWM.Domain/Containers/CommandHandlers/RedrawContainersHandler.cs
@@ -1,13 +1,13 @@
using System;
using System.Linq;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.UserConfigs;
-using LarsWM.Domain.Windows;
-using LarsWM.Infrastructure.Bussing;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.UserConfigs;
+using GlazeWM.Domain.Windows;
+using GlazeWM.Infrastructure.Bussing;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Domain.Containers.CommandHandlers
+namespace GlazeWM.Domain.Containers.CommandHandlers
{
class RedrawContainersHandler : ICommandHandler<RedrawContainersCommand>
{
diff --git a/LarsWM.Domain/Containers/CommandHandlers/ReplaceContainerHandler.cs b/GlazeWM.Domain/Containers/CommandHandlers/ReplaceContainerHandler.cs
similarity index 89%
rename from LarsWM.Domain/Containers/CommandHandlers/ReplaceContainerHandler.cs
rename to GlazeWM.Domain/Containers/CommandHandlers/ReplaceContainerHandler.cs
index 19fd2cb4..6743dda2 100644
--- a/LarsWM.Domain/Containers/CommandHandlers/ReplaceContainerHandler.cs
+++ b/GlazeWM.Domain/Containers/CommandHandlers/ReplaceContainerHandler.cs
@@ -1,8 +1,8 @@
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.Utils;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Utils;
-namespace LarsWM.Domain.Containers.CommandHandlers
+namespace GlazeWM.Domain.Containers.CommandHandlers
{
class ReplaceContainerHandler : ICommandHandler<ReplaceContainerCommand>
{
diff --git a/LarsWM.Domain/Containers/CommandHandlers/SetFocusedDescendantHandler.cs b/GlazeWM.Domain/Containers/CommandHandlers/SetFocusedDescendantHandler.cs
similarity index 81%
rename from LarsWM.Domain/Containers/CommandHandlers/SetFocusedDescendantHandler.cs
rename to GlazeWM.Domain/Containers/CommandHandlers/SetFocusedDescendantHandler.cs
index 8c795972..356bc688 100644
--- a/LarsWM.Domain/Containers/CommandHandlers/SetFocusedDescendantHandler.cs
+++ b/GlazeWM.Domain/Containers/CommandHandlers/SetFocusedDescendantHandler.cs
@@ -1,8 +1,8 @@
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.Utils;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Utils;
-namespace LarsWM.Domain.Containers.CommandHandlers
+namespace GlazeWM.Domain.Containers.CommandHandlers
{
class SetFocusedDescendantHandler : ICommandHandler<SetFocusedDescendantCommand>
{
diff --git a/LarsWM.Domain/Containers/CommandHandlers/SwapContainersHandler.cs b/GlazeWM.Domain/Containers/CommandHandlers/SwapContainersHandler.cs
similarity index 90%
rename from LarsWM.Domain/Containers/CommandHandlers/SwapContainersHandler.cs
rename to GlazeWM.Domain/Containers/CommandHandlers/SwapContainersHandler.cs
index 4c7afae1..895d0025 100644
--- a/LarsWM.Domain/Containers/CommandHandlers/SwapContainersHandler.cs
+++ b/GlazeWM.Domain/Containers/CommandHandlers/SwapContainersHandler.cs
@@ -1,8 +1,8 @@
using System;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.CommandHandlers
+namespace GlazeWM.Domain.Containers.CommandHandlers
{
class SwapContainersHandler : ICommandHandler<SwapContainersCommand>
{
diff --git a/LarsWM.Domain/Containers/Commands/AttachContainerCommand.cs b/GlazeWM.Domain/Containers/Commands/AttachContainerCommand.cs
similarity index 88%
rename from LarsWM.Domain/Containers/Commands/AttachContainerCommand.cs
rename to GlazeWM.Domain/Containers/Commands/AttachContainerCommand.cs
index 4c5ab926..7ebaeb7d 100644
--- a/LarsWM.Domain/Containers/Commands/AttachContainerCommand.cs
+++ b/GlazeWM.Domain/Containers/Commands/AttachContainerCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Commands
+namespace GlazeWM.Domain.Containers.Commands
{
public class AttachContainerCommand : Command
{
diff --git a/LarsWM.Domain/Containers/Commands/ChangeContainerLayoutCommand.cs b/GlazeWM.Domain/Containers/Commands/ChangeContainerLayoutCommand.cs
similarity index 70%
rename from LarsWM.Domain/Containers/Commands/ChangeContainerLayoutCommand.cs
rename to GlazeWM.Domain/Containers/Commands/ChangeContainerLayoutCommand.cs
index eeb48b60..b9fd60f6 100644
--- a/LarsWM.Domain/Containers/Commands/ChangeContainerLayoutCommand.cs
+++ b/GlazeWM.Domain/Containers/Commands/ChangeContainerLayoutCommand.cs
@@ -1,7 +1,7 @@
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Commands
+namespace GlazeWM.Domain.Containers.Commands
{
public class ChangeContainerLayoutCommand : Command
{
diff --git a/LarsWM.Domain/Containers/Commands/ChangeFocusedContainerLayoutCommand.cs b/GlazeWM.Domain/Containers/Commands/ChangeFocusedContainerLayoutCommand.cs
similarity index 64%
rename from LarsWM.Domain/Containers/Commands/ChangeFocusedContainerLayoutCommand.cs
rename to GlazeWM.Domain/Containers/Commands/ChangeFocusedContainerLayoutCommand.cs
index 478194fe..208f096f 100644
--- a/LarsWM.Domain/Containers/Commands/ChangeFocusedContainerLayoutCommand.cs
+++ b/GlazeWM.Domain/Containers/Commands/ChangeFocusedContainerLayoutCommand.cs
@@ -1,7 +1,7 @@
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Commands
+namespace GlazeWM.Domain.Containers.Commands
{
public class ChangeFocusedContainerLayoutCommand : Command
{
diff --git a/LarsWM.Domain/Containers/Commands/DetachContainerCommand.cs b/GlazeWM.Domain/Containers/Commands/DetachContainerCommand.cs
similarity index 77%
rename from LarsWM.Domain/Containers/Commands/DetachContainerCommand.cs
rename to GlazeWM.Domain/Containers/Commands/DetachContainerCommand.cs
index 9014a4fe..af55d0c7 100644
--- a/LarsWM.Domain/Containers/Commands/DetachContainerCommand.cs
+++ b/GlazeWM.Domain/Containers/Commands/DetachContainerCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Commands
+namespace GlazeWM.Domain.Containers.Commands
{
public class DetachContainerCommand : Command
{
diff --git a/LarsWM.Domain/Containers/Commands/FocusInDirectionCommand.cs b/GlazeWM.Domain/Containers/Commands/FocusInDirectionCommand.cs
similarity index 62%
rename from LarsWM.Domain/Containers/Commands/FocusInDirectionCommand.cs
rename to GlazeWM.Domain/Containers/Commands/FocusInDirectionCommand.cs
index febc7c3e..1eea9253 100644
--- a/LarsWM.Domain/Containers/Commands/FocusInDirectionCommand.cs
+++ b/GlazeWM.Domain/Containers/Commands/FocusInDirectionCommand.cs
@@ -1,7 +1,7 @@
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Commands
+namespace GlazeWM.Domain.Containers.Commands
{
public class FocusInDirectionCommand : Command
{
diff --git a/LarsWM.Domain/Containers/Commands/RedrawContainersCommand.cs b/GlazeWM.Domain/Containers/Commands/RedrawContainersCommand.cs
similarity index 56%
rename from LarsWM.Domain/Containers/Commands/RedrawContainersCommand.cs
rename to GlazeWM.Domain/Containers/Commands/RedrawContainersCommand.cs
index 072e37c6..dc543964 100644
--- a/LarsWM.Domain/Containers/Commands/RedrawContainersCommand.cs
+++ b/GlazeWM.Domain/Containers/Commands/RedrawContainersCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Commands
+namespace GlazeWM.Domain.Containers.Commands
{
public class RedrawContainersCommand : Command
{
diff --git a/LarsWM.Domain/Containers/Commands/ReplaceContainerCommand.cs b/GlazeWM.Domain/Containers/Commands/ReplaceContainerCommand.cs
similarity index 85%
rename from LarsWM.Domain/Containers/Commands/ReplaceContainerCommand.cs
rename to GlazeWM.Domain/Containers/Commands/ReplaceContainerCommand.cs
index 4040bfe9..800123c4 100644
--- a/LarsWM.Domain/Containers/Commands/ReplaceContainerCommand.cs
+++ b/GlazeWM.Domain/Containers/Commands/ReplaceContainerCommand.cs
@@ -1,7 +1,7 @@
using System.Collections.Generic;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Commands
+namespace GlazeWM.Domain.Containers.Commands
{
public class ReplaceContainerCommand : Command
{
diff --git a/LarsWM.Domain/Containers/Commands/SetFocusedDescendantCommand.cs b/GlazeWM.Domain/Containers/Commands/SetFocusedDescendantCommand.cs
similarity index 73%
rename from LarsWM.Domain/Containers/Commands/SetFocusedDescendantCommand.cs
rename to GlazeWM.Domain/Containers/Commands/SetFocusedDescendantCommand.cs
index 39de80b1..58f5b884 100644
--- a/LarsWM.Domain/Containers/Commands/SetFocusedDescendantCommand.cs
+++ b/GlazeWM.Domain/Containers/Commands/SetFocusedDescendantCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Commands
+namespace GlazeWM.Domain.Containers.Commands
{
public class SetFocusedDescendantCommand : Command
{
diff --git a/LarsWM.Domain/Containers/Commands/SwapContainersCommand.cs b/GlazeWM.Domain/Containers/Commands/SwapContainersCommand.cs
similarity index 79%
rename from LarsWM.Domain/Containers/Commands/SwapContainersCommand.cs
rename to GlazeWM.Domain/Containers/Commands/SwapContainersCommand.cs
index 176fbc91..41333f47 100644
--- a/LarsWM.Domain/Containers/Commands/SwapContainersCommand.cs
+++ b/GlazeWM.Domain/Containers/Commands/SwapContainersCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Commands
+namespace GlazeWM.Domain.Containers.Commands
{
public class SwapContainersCommand : Command
{
diff --git a/LarsWM.Domain/Containers/Container.cs b/GlazeWM.Domain/Containers/Container.cs
similarity index 98%
rename from LarsWM.Domain/Containers/Container.cs
rename to GlazeWM.Domain/Containers/Container.cs
index 10b349d1..cca1cc71 100644
--- a/LarsWM.Domain/Containers/Container.cs
+++ b/GlazeWM.Domain/Containers/Container.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
-namespace LarsWM.Domain.Containers
+namespace GlazeWM.Domain.Containers
{
public class Container
{
diff --git a/LarsWM.Domain/Containers/ContainerService.cs b/GlazeWM.Domain/Containers/ContainerService.cs
similarity index 97%
rename from LarsWM.Domain/Containers/ContainerService.cs
rename to GlazeWM.Domain/Containers/ContainerService.cs
index fef37e7f..3057d9b9 100644
--- a/LarsWM.Domain/Containers/ContainerService.cs
+++ b/GlazeWM.Domain/Containers/ContainerService.cs
@@ -1,9 +1,9 @@
using System.Collections.Generic;
using System.Linq;
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Domain.UserConfigs;
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Domain.UserConfigs;
-namespace LarsWM.Domain.Containers
+namespace GlazeWM.Domain.Containers
{
public class ContainerService
{
diff --git a/LarsWM.Domain/Containers/Events/FocusChangedEvent.cs b/GlazeWM.Domain/Containers/Events/FocusChangedEvent.cs
similarity index 71%
rename from LarsWM.Domain/Containers/Events/FocusChangedEvent.cs
rename to GlazeWM.Domain/Containers/Events/FocusChangedEvent.cs
index 066fb591..071f4f9a 100644
--- a/LarsWM.Domain/Containers/Events/FocusChangedEvent.cs
+++ b/GlazeWM.Domain/Containers/Events/FocusChangedEvent.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Events
+namespace GlazeWM.Domain.Containers.Events
{
public class FocusChangedEvent : Event
{
diff --git a/LarsWM.Domain/Containers/SplitContainer.cs b/GlazeWM.Domain/Containers/SplitContainer.cs
similarity index 86%
rename from LarsWM.Domain/Containers/SplitContainer.cs
rename to GlazeWM.Domain/Containers/SplitContainer.cs
index a905c7a9..2b2fadb1 100644
--- a/LarsWM.Domain/Containers/SplitContainer.cs
+++ b/GlazeWM.Domain/Containers/SplitContainer.cs
@@ -1,8 +1,8 @@
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Infrastructure;
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
-namespace LarsWM.Domain.Containers
+namespace GlazeWM.Domain.Containers
{
public class SplitContainer : Container
{
diff --git a/LarsWM.Domain/Containers/TreeTraversalHelper.cs b/GlazeWM.Domain/Containers/TreeTraversalHelper.cs
similarity index 97%
rename from LarsWM.Domain/Containers/TreeTraversalHelper.cs
rename to GlazeWM.Domain/Containers/TreeTraversalHelper.cs
index 4a05b0f7..57c7ef36 100644
--- a/LarsWM.Domain/Containers/TreeTraversalHelper.cs
+++ b/GlazeWM.Domain/Containers/TreeTraversalHelper.cs
@@ -1,6 +1,6 @@
using System.Collections.Generic;
-namespace LarsWM.Domain.Containers
+namespace GlazeWM.Domain.Containers
{
public static class TreeTraversalHelper
{
diff --git a/LarsWM.Domain/DependencyInjection.cs b/GlazeWM.Domain/DependencyInjection.cs
similarity index 81%
rename from LarsWM.Domain/DependencyInjection.cs
rename to GlazeWM.Domain/DependencyInjection.cs
index 134cd0a5..5a720fcb 100644
--- a/LarsWM.Domain/DependencyInjection.cs
+++ b/GlazeWM.Domain/DependencyInjection.cs
@@ -1,24 +1,24 @@
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Containers.CommandHandlers;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.Monitors.CommandHandlers;
-using LarsWM.Domain.Monitors.Commands;
-using LarsWM.Domain.UserConfigs;
-using LarsWM.Domain.UserConfigs.CommandHandlers;
-using LarsWM.Domain.UserConfigs.Commands;
-using LarsWM.Domain.Windows;
-using LarsWM.Domain.Windows.CommandHandlers;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Domain.Windows.EventHandlers;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Domain.Workspaces.CommandHandlers;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.WindowsApi.Events;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Containers.CommandHandlers;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.Monitors.CommandHandlers;
+using GlazeWM.Domain.Monitors.Commands;
+using GlazeWM.Domain.UserConfigs;
+using GlazeWM.Domain.UserConfigs.CommandHandlers;
+using GlazeWM.Domain.UserConfigs.Commands;
+using GlazeWM.Domain.Windows;
+using GlazeWM.Domain.Windows.CommandHandlers;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Domain.Windows.EventHandlers;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Domain.Workspaces.CommandHandlers;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.WindowsApi.Events;
using Microsoft.Extensions.DependencyInjection;
-namespace LarsWM.Domain
+namespace GlazeWM.Domain
{
public static class DependencyInjection
{
diff --git a/LarsWM.Domain/LarsWM.Domain.csproj b/GlazeWM.Domain/GlazeWM.Domain.csproj
similarity index 91%
rename from LarsWM.Domain/LarsWM.Domain.csproj
rename to GlazeWM.Domain/GlazeWM.Domain.csproj
index fa9188e3..c8e2e3b6 100644
--- a/LarsWM.Domain/LarsWM.Domain.csproj
+++ b/GlazeWM.Domain/GlazeWM.Domain.csproj
@@ -27,7 +27,7 @@
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\LarsWM.Infrastructure\LarsWM.Infrastructure.csproj" />
+ <ProjectReference Include="..\GlazeWM.Infrastructure\GlazeWM.Infrastructure.csproj" />
</ItemGroup>
<ItemGroup>
diff --git a/LarsWM.Domain/Monitors/CommandHandlers/AddMonitorHandler.cs b/GlazeWM.Domain/Monitors/CommandHandlers/AddMonitorHandler.cs
similarity index 83%
rename from LarsWM.Domain/Monitors/CommandHandlers/AddMonitorHandler.cs
rename to GlazeWM.Domain/Monitors/CommandHandlers/AddMonitorHandler.cs
index 1d0953a6..5d58aaad 100644
--- a/LarsWM.Domain/Monitors/CommandHandlers/AddMonitorHandler.cs
+++ b/GlazeWM.Domain/Monitors/CommandHandlers/AddMonitorHandler.cs
@@ -1,12 +1,12 @@
using System.Linq;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Monitors.Commands;
-using LarsWM.Domain.Monitors.Events;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Infrastructure.Bussing;
-
-namespace LarsWM.Domain.Monitors.CommandHandlers
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Monitors.Commands;
+using GlazeWM.Domain.Monitors.Events;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Infrastructure.Bussing;
+
+namespace GlazeWM.Domain.Monitors.CommandHandlers
{
class AddMonitorHandler : ICommandHandler<AddMonitorCommand>
{
diff --git a/LarsWM.Domain/Monitors/Commands/AddMonitorCommand.cs b/GlazeWM.Domain/Monitors/Commands/AddMonitorCommand.cs
similarity index 70%
rename from LarsWM.Domain/Monitors/Commands/AddMonitorCommand.cs
rename to GlazeWM.Domain/Monitors/Commands/AddMonitorCommand.cs
index 169eefec..15956962 100644
--- a/LarsWM.Domain/Monitors/Commands/AddMonitorCommand.cs
+++ b/GlazeWM.Domain/Monitors/Commands/AddMonitorCommand.cs
@@ -1,7 +1,7 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
using System.Windows.Forms;
-namespace LarsWM.Domain.Monitors.Commands
+namespace GlazeWM.Domain.Monitors.Commands
{
public class AddMonitorCommand : Command
{
diff --git a/LarsWM.Domain/Monitors/Events/MonitorAddedEvent.cs b/GlazeWM.Domain/Monitors/Events/MonitorAddedEvent.cs
similarity index 71%
rename from LarsWM.Domain/Monitors/Events/MonitorAddedEvent.cs
rename to GlazeWM.Domain/Monitors/Events/MonitorAddedEvent.cs
index 8f603e53..5c389bf4 100644
--- a/LarsWM.Domain/Monitors/Events/MonitorAddedEvent.cs
+++ b/GlazeWM.Domain/Monitors/Events/MonitorAddedEvent.cs
@@ -1,7 +1,7 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
using System;
-namespace LarsWM.Domain.Monitors.Events
+namespace GlazeWM.Domain.Monitors.Events
{
public class MonitorAddedEvent : Event
{
diff --git a/GlazeWM.Domain/Monitors/Events/NewMonitorDetectedEvent.cs b/GlazeWM.Domain/Monitors/Events/NewMonitorDetectedEvent.cs
new file mode 100644
index 00000000..90df496f
--- /dev/null
+++ b/GlazeWM.Domain/Monitors/Events/NewMonitorDetectedEvent.cs
@@ -0,0 +1,8 @@
+using GlazeWM.Infrastructure.Bussing;
+
+namespace GlazeWM.Domain.Monitors.Events
+{
+ class NewMonitorDetectedEvent : Event
+ {
+ }
+}
diff --git a/LarsWM.Domain/Monitors/Monitor.cs b/GlazeWM.Domain/Monitors/Monitor.cs
similarity index 87%
rename from LarsWM.Domain/Monitors/Monitor.cs
rename to GlazeWM.Domain/Monitors/Monitor.cs
index b4f8035d..724bbf9a 100644
--- a/LarsWM.Domain/Monitors/Monitor.cs
+++ b/GlazeWM.Domain/Monitors/Monitor.cs
@@ -1,11 +1,11 @@
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Infrastructure;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Windows.Forms;
-namespace LarsWM.Domain.Monitors
+namespace GlazeWM.Domain.Monitors
{
public class Monitor : Container
{
diff --git a/LarsWM.Domain/Monitors/MonitorService.cs b/GlazeWM.Domain/Monitors/MonitorService.cs
similarity index 95%
rename from LarsWM.Domain/Monitors/MonitorService.cs
rename to GlazeWM.Domain/Monitors/MonitorService.cs
index 7472b79d..cd0aa39b 100644
--- a/LarsWM.Domain/Monitors/MonitorService.cs
+++ b/GlazeWM.Domain/Monitors/MonitorService.cs
@@ -2,12 +2,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Windows;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Windows;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Domain.Monitors
+namespace GlazeWM.Domain.Monitors
{
public class MonitorService
{
diff --git a/LarsWM.Domain/UserConfigs/BarConfig.cs b/GlazeWM.Domain/UserConfigs/BarConfig.cs
similarity index 68%
rename from LarsWM.Domain/UserConfigs/BarConfig.cs
rename to GlazeWM.Domain/UserConfigs/BarConfig.cs
index c4d83a09..6fc31a02 100644
--- a/LarsWM.Domain/UserConfigs/BarConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/BarConfig.cs
@@ -1,4 +1,4 @@
-namespace LarsWM.Domain.UserConfigs
+namespace GlazeWM.Domain.UserConfigs
{
public class BarConfig
{
diff --git a/LarsWM.Domain/UserConfigs/CommandHandlers/EvaluateUserConfigHandler.cs b/GlazeWM.Domain/UserConfigs/CommandHandlers/EvaluateUserConfigHandler.cs
similarity index 93%
rename from LarsWM.Domain/UserConfigs/CommandHandlers/EvaluateUserConfigHandler.cs
rename to GlazeWM.Domain/UserConfigs/CommandHandlers/EvaluateUserConfigHandler.cs
index 3e315973..b4576c38 100644
--- a/LarsWM.Domain/UserConfigs/CommandHandlers/EvaluateUserConfigHandler.cs
+++ b/GlazeWM.Domain/UserConfigs/CommandHandlers/EvaluateUserConfigHandler.cs
@@ -1,7 +1,7 @@
-using LarsWM.Domain.UserConfigs.Commands;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.WindowsApi;
+using GlazeWM.Domain.UserConfigs.Commands;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.WindowsApi;
using System;
using System.IO;
using System.Text.RegularExpressions;
@@ -9,7 +9,7 @@ using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
using YamlDotNet.Serialization.NodeDeserializers;
-namespace LarsWM.Domain.UserConfigs.CommandHandlers
+namespace GlazeWM.Domain.UserConfigs.CommandHandlers
{
class EvaluateUserConfigHandler : ICommandHandler<EvaluateUserConfigCommand>
{
diff --git a/LarsWM.Domain/UserConfigs/CommandHandlers/RegisterKeybindingsHandler.cs b/GlazeWM.Domain/UserConfigs/CommandHandlers/RegisterKeybindingsHandler.cs
similarity index 90%
rename from LarsWM.Domain/UserConfigs/CommandHandlers/RegisterKeybindingsHandler.cs
rename to GlazeWM.Domain/UserConfigs/CommandHandlers/RegisterKeybindingsHandler.cs
index 026fd4cd..a4e98612 100644
--- a/LarsWM.Domain/UserConfigs/CommandHandlers/RegisterKeybindingsHandler.cs
+++ b/GlazeWM.Domain/UserConfigs/CommandHandlers/RegisterKeybindingsHandler.cs
@@ -1,9 +1,9 @@
using System.Linq;
-using LarsWM.Domain.UserConfigs.Commands;
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.WindowsApi;
+using GlazeWM.Domain.UserConfigs.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.WindowsApi;
-namespace LarsWM.Domain.UserConfigs.CommandHandlers
+namespace GlazeWM.Domain.UserConfigs.CommandHandlers
{
class RegisterKeybindingsHandler : ICommandHandler<RegisterKeybindingsCommand>
{
diff --git a/LarsWM.Domain/UserConfigs/CommandParsingService.cs b/GlazeWM.Domain/UserConfigs/CommandParsingService.cs
similarity index 93%
rename from LarsWM.Domain/UserConfigs/CommandParsingService.cs
rename to GlazeWM.Domain/UserConfigs/CommandParsingService.cs
index 1069acf0..8e6e64c0 100644
--- a/LarsWM.Domain/UserConfigs/CommandParsingService.cs
+++ b/GlazeWM.Domain/UserConfigs/CommandParsingService.cs
@@ -1,13 +1,13 @@
using System;
using System.Text.RegularExpressions;
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.UserConfigs
+namespace GlazeWM.Domain.UserConfigs
{
public class CommandParsingService
{
diff --git a/GlazeWM.Domain/UserConfigs/Commands/EvaluateUserConfigCommand.cs b/GlazeWM.Domain/UserConfigs/Commands/EvaluateUserConfigCommand.cs
new file mode 100644
index 00000000..4dcb7299
--- /dev/null
+++ b/GlazeWM.Domain/UserConfigs/Commands/EvaluateUserConfigCommand.cs
@@ -0,0 +1,8 @@
+using GlazeWM.Infrastructure.Bussing;
+
+namespace GlazeWM.Domain.UserConfigs.Commands
+{
+ public class EvaluateUserConfigCommand : Command
+ {
+ }
+}
diff --git a/LarsWM.Domain/UserConfigs/Commands/RegisterKeybindingsCommand.cs b/GlazeWM.Domain/UserConfigs/Commands/RegisterKeybindingsCommand.cs
similarity index 82%
rename from LarsWM.Domain/UserConfigs/Commands/RegisterKeybindingsCommand.cs
rename to GlazeWM.Domain/UserConfigs/Commands/RegisterKeybindingsCommand.cs
index d608b5b5..5ea34bbe 100644
--- a/LarsWM.Domain/UserConfigs/Commands/RegisterKeybindingsCommand.cs
+++ b/GlazeWM.Domain/UserConfigs/Commands/RegisterKeybindingsCommand.cs
@@ -1,7 +1,7 @@
using System.Collections.Generic;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.UserConfigs.Commands
+namespace GlazeWM.Domain.UserConfigs.Commands
{
// TODO: Consider renaming to `RegisterUserKeybindingsCommand`.
// TODO: Perhaps call command for each keybinding config.
diff --git a/LarsWM.Domain/UserConfigs/GapsConfig.cs b/GlazeWM.Domain/UserConfigs/GapsConfig.cs
similarity index 77%
rename from LarsWM.Domain/UserConfigs/GapsConfig.cs
rename to GlazeWM.Domain/UserConfigs/GapsConfig.cs
index fde57bba..456174e5 100644
--- a/LarsWM.Domain/UserConfigs/GapsConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/GapsConfig.cs
@@ -1,4 +1,4 @@
-namespace LarsWM.Domain.UserConfigs
+namespace GlazeWM.Domain.UserConfigs
{
public class GapsConfig
{
diff --git a/LarsWM.Domain/UserConfigs/KeybindingConfig.cs b/GlazeWM.Domain/UserConfigs/KeybindingConfig.cs
similarity index 92%
rename from LarsWM.Domain/UserConfigs/KeybindingConfig.cs
rename to GlazeWM.Domain/UserConfigs/KeybindingConfig.cs
index 7070cf06..5052076a 100644
--- a/LarsWM.Domain/UserConfigs/KeybindingConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/KeybindingConfig.cs
@@ -1,6 +1,6 @@
using System.Collections.Generic;
-namespace LarsWM.Domain.UserConfigs
+namespace GlazeWM.Domain.UserConfigs
{
public class KeybindingConfig
{
diff --git a/LarsWM.Domain/UserConfigs/SampleUserConfig.yaml b/GlazeWM.Domain/UserConfigs/SampleUserConfig.yaml
similarity index 100%
rename from LarsWM.Domain/UserConfigs/SampleUserConfig.yaml
rename to GlazeWM.Domain/UserConfigs/SampleUserConfig.yaml
diff --git a/LarsWM.Domain/UserConfigs/UserConfig.cs b/GlazeWM.Domain/UserConfigs/UserConfig.cs
similarity index 94%
rename from LarsWM.Domain/UserConfigs/UserConfig.cs
rename to GlazeWM.Domain/UserConfigs/UserConfig.cs
index d52fdab4..f016a965 100644
--- a/LarsWM.Domain/UserConfigs/UserConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/UserConfig.cs
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
-namespace LarsWM.Domain.UserConfigs
+namespace GlazeWM.Domain.UserConfigs
{
public class UserConfig
{
diff --git a/LarsWM.Domain/UserConfigs/UserConfigService.cs b/GlazeWM.Domain/UserConfigs/UserConfigService.cs
similarity index 95%
rename from LarsWM.Domain/UserConfigs/UserConfigService.cs
rename to GlazeWM.Domain/UserConfigs/UserConfigService.cs
index 417b8b7c..55070a5a 100644
--- a/LarsWM.Domain/UserConfigs/UserConfigService.cs
+++ b/GlazeWM.Domain/UserConfigs/UserConfigService.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.IO;
-namespace LarsWM.Domain.UserConfigs
+namespace GlazeWM.Domain.UserConfigs
{
public class UserConfigService
{
@@ -21,7 +21,7 @@ namespace LarsWM.Domain.UserConfigs
/// </summary>
public string SampleUserConfigPath = Path.Combine(
Directory.GetCurrentDirectory(),
- "../LarsWM.Domain/UserConfigs/SampleUserConfig.yaml"
+ "../GlazeWM.Domain/UserConfigs/SampleUserConfig.yaml"
);
public readonly List<WindowRuleConfig> DefaultWindowRules = GetDefaultWindowRules();
diff --git a/LarsWM.Domain/UserConfigs/ValidatingDeserializer.cs b/GlazeWM.Domain/UserConfigs/ValidatingDeserializer.cs
similarity index 95%
rename from LarsWM.Domain/UserConfigs/ValidatingDeserializer.cs
rename to GlazeWM.Domain/UserConfigs/ValidatingDeserializer.cs
index 7c788a4f..463a310a 100644
--- a/LarsWM.Domain/UserConfigs/ValidatingDeserializer.cs
+++ b/GlazeWM.Domain/UserConfigs/ValidatingDeserializer.cs
@@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
using YamlDotNet.Core;
using YamlDotNet.Serialization;
-namespace LarsWM.Domain.UserConfigs
+namespace GlazeWM.Domain.UserConfigs
{
public class ValidatingDeserializer : INodeDeserializer
{
diff --git a/LarsWM.Domain/UserConfigs/WindowRuleConfig.cs b/GlazeWM.Domain/UserConfigs/WindowRuleConfig.cs
similarity index 97%
rename from LarsWM.Domain/UserConfigs/WindowRuleConfig.cs
rename to GlazeWM.Domain/UserConfigs/WindowRuleConfig.cs
index cb4ef6d3..8355b67d 100644
--- a/LarsWM.Domain/UserConfigs/WindowRuleConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/WindowRuleConfig.cs
@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
-namespace LarsWM.Domain.UserConfigs
+namespace GlazeWM.Domain.UserConfigs
{
public class WindowRuleConfig
{
diff --git a/LarsWM.Domain/UserConfigs/WorkspaceConfig.cs b/GlazeWM.Domain/UserConfigs/WorkspaceConfig.cs
similarity index 89%
rename from LarsWM.Domain/UserConfigs/WorkspaceConfig.cs
rename to GlazeWM.Domain/UserConfigs/WorkspaceConfig.cs
index b705b1c0..af1e7858 100644
--- a/LarsWM.Domain/UserConfigs/WorkspaceConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/WorkspaceConfig.cs
@@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
-namespace LarsWM.Domain.UserConfigs
+namespace GlazeWM.Domain.UserConfigs
{
public class WorkspaceConfig
{
diff --git a/LarsWM.Domain/Windows/CommandHandlers/AddWindowHandler.cs b/GlazeWM.Domain/Windows/CommandHandlers/AddWindowHandler.cs
similarity index 92%
rename from LarsWM.Domain/Windows/CommandHandlers/AddWindowHandler.cs
rename to GlazeWM.Domain/Windows/CommandHandlers/AddWindowHandler.cs
index 32eea02d..089e4801 100644
--- a/LarsWM.Domain/Windows/CommandHandlers/AddWindowHandler.cs
+++ b/GlazeWM.Domain/Windows/CommandHandlers/AddWindowHandler.cs
@@ -1,13 +1,13 @@
using System.Collections.Generic;
using System.Linq;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.UserConfigs;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Infrastructure.Bussing;
-
-namespace LarsWM.Domain.Windows.CommandHandlers
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.UserConfigs;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Infrastructure.Bussing;
+
+namespace GlazeWM.Domain.Windows.CommandHandlers
{
class AddWindowHandler : ICommandHandler<AddWindowCommand>
{
diff --git a/LarsWM.Domain/Windows/CommandHandlers/CloseFocusedWindowHandler.cs b/GlazeWM.Domain/Windows/CommandHandlers/CloseFocusedWindowHandler.cs
similarity index 78%
rename from LarsWM.Domain/Windows/CommandHandlers/CloseFocusedWindowHandler.cs
rename to GlazeWM.Domain/Windows/CommandHandlers/CloseFocusedWindowHandler.cs
index 253740aa..df91d0eb 100644
--- a/LarsWM.Domain/Windows/CommandHandlers/CloseFocusedWindowHandler.cs
+++ b/GlazeWM.Domain/Windows/CommandHandlers/CloseFocusedWindowHandler.cs
@@ -1,10 +1,10 @@
using System;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Infrastructure.Bussing;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Domain.Windows.CommandHandlers
+namespace GlazeWM.Domain.Windows.CommandHandlers
{
class CloseFocusedWindowHandler : ICommandHandler<CloseFocusedWindowCommand>
{
diff --git a/LarsWM.Domain/Windows/CommandHandlers/FocusWindowHandler.cs b/GlazeWM.Domain/Windows/CommandHandlers/FocusWindowHandler.cs
similarity index 76%
rename from LarsWM.Domain/Windows/CommandHandlers/FocusWindowHandler.cs
rename to GlazeWM.Domain/Windows/CommandHandlers/FocusWindowHandler.cs
index 9aac3a6b..9913b08f 100644
--- a/LarsWM.Domain/Windows/CommandHandlers/FocusWindowHandler.cs
+++ b/GlazeWM.Domain/Windows/CommandHandlers/FocusWindowHandler.cs
@@ -1,11 +1,11 @@
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Containers.Events;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Infrastructure.Bussing;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Containers.Events;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Domain.Windows.CommandHandlers
+namespace GlazeWM.Domain.Windows.CommandHandlers
{
class FocusWindowHandler : ICommandHandler<FocusWindowCommand>
{
diff --git a/LarsWM.Domain/Windows/CommandHandlers/MoveFocusedWindowHandler.cs b/GlazeWM.Domain/Windows/CommandHandlers/MoveFocusedWindowHandler.cs
similarity index 94%
rename from LarsWM.Domain/Windows/CommandHandlers/MoveFocusedWindowHandler.cs
rename to GlazeWM.Domain/Windows/CommandHandlers/MoveFocusedWindowHandler.cs
index 28a65687..f5087fef 100644
--- a/LarsWM.Domain/Windows/CommandHandlers/MoveFocusedWindowHandler.cs
+++ b/GlazeWM.Domain/Windows/CommandHandlers/MoveFocusedWindowHandler.cs
@@ -1,14 +1,14 @@
using System.Linq;
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Containers.Events;
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Infrastructure.Bussing;
-
-namespace LarsWM.Domain.Windows.CommandHandlers
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Containers.Events;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Infrastructure.Bussing;
+
+namespace GlazeWM.Domain.Windows.CommandHandlers
{
class MoveFocusedWindowHandler : ICommandHandler<MoveFocusedWindowCommand>
{
diff --git a/LarsWM.Domain/Windows/CommandHandlers/RemoveWindowHandler.cs b/GlazeWM.Domain/Windows/CommandHandlers/RemoveWindowHandler.cs
similarity index 76%
rename from LarsWM.Domain/Windows/CommandHandlers/RemoveWindowHandler.cs
rename to GlazeWM.Domain/Windows/CommandHandlers/RemoveWindowHandler.cs
index aec21f3a..533bd8a1 100644
--- a/LarsWM.Domain/Windows/CommandHandlers/RemoveWindowHandler.cs
+++ b/GlazeWM.Domain/Windows/CommandHandlers/RemoveWindowHandler.cs
@@ -1,14 +1,14 @@
using System;
using System.Linq;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Infrastructure.Bussing;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Domain.Windows.CommandHandlers
+namespace GlazeWM.Domain.Windows.CommandHandlers
{
class RemoveWindowHandler : ICommandHandler<RemoveWindowCommand>
{
diff --git a/LarsWM.Domain/Windows/CommandHandlers/ResizeFocusedWindowHandler.cs b/GlazeWM.Domain/Windows/CommandHandlers/ResizeFocusedWindowHandler.cs
similarity index 90%
rename from LarsWM.Domain/Windows/CommandHandlers/ResizeFocusedWindowHandler.cs
rename to GlazeWM.Domain/Windows/CommandHandlers/ResizeFocusedWindowHandler.cs
index 54a60154..280fff5e 100644
--- a/LarsWM.Domain/Windows/CommandHandlers/ResizeFocusedWindowHandler.cs
+++ b/GlazeWM.Domain/Windows/CommandHandlers/ResizeFocusedWindowHandler.cs
@@ -1,13 +1,13 @@
using System.Linq;
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.UserConfigs;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Infrastructure.Bussing;
-
-namespace LarsWM.Domain.Windows.CommandHandlers
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.UserConfigs;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Infrastructure.Bussing;
+
+namespace GlazeWM.Domain.Windows.CommandHandlers
{
class ResizeFocusedWindowHandler : ICommandHandler<ResizeFocusedWindowCommand>
{
diff --git a/LarsWM.Domain/Windows/Commands/AddWindowCommand.cs b/GlazeWM.Domain/Windows/Commands/AddWindowCommand.cs
similarity index 78%
rename from LarsWM.Domain/Windows/Commands/AddWindowCommand.cs
rename to GlazeWM.Domain/Windows/Commands/AddWindowCommand.cs
index 070779ab..ab27fdc1 100644
--- a/LarsWM.Domain/Windows/Commands/AddWindowCommand.cs
+++ b/GlazeWM.Domain/Windows/Commands/AddWindowCommand.cs
@@ -1,8 +1,8 @@
-using LarsWM.Domain.Containers;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Infrastructure.Bussing;
using System;
-namespace LarsWM.Domain.Windows.Commands
+namespace GlazeWM.Domain.Windows.Commands
{
public class AddWindowCommand : Command
{
diff --git a/GlazeWM.Domain/Windows/Commands/CloseFocusedWindowCommand.cs b/GlazeWM.Domain/Windows/Commands/CloseFocusedWindowCommand.cs
new file mode 100644
index 00000000..0d6cb6d4
--- /dev/null
+++ b/GlazeWM.Domain/Windows/Commands/CloseFocusedWindowCommand.cs
@@ -0,0 +1,8 @@
+using GlazeWM.Infrastructure.Bussing;
+
+namespace GlazeWM.Domain.Windows.Commands
+{
+ public class CloseFocusedWindowCommand : Command
+ {
+ }
+}
diff --git a/LarsWM.Domain/Windows/Commands/FocusWindowCommand.cs b/GlazeWM.Domain/Windows/Commands/FocusWindowCommand.cs
similarity index 68%
rename from LarsWM.Domain/Windows/Commands/FocusWindowCommand.cs
rename to GlazeWM.Domain/Windows/Commands/FocusWindowCommand.cs
index 69db8ec6..cac64f8e 100644
--- a/LarsWM.Domain/Windows/Commands/FocusWindowCommand.cs
+++ b/GlazeWM.Domain/Windows/Commands/FocusWindowCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Windows.Commands
+namespace GlazeWM.Domain.Windows.Commands
{
public class FocusWindowCommand : Command
{
diff --git a/LarsWM.Domain/Windows/Commands/MoveFocusedWindowCommand.cs b/GlazeWM.Domain/Windows/Commands/MoveFocusedWindowCommand.cs
similarity index 63%
rename from LarsWM.Domain/Windows/Commands/MoveFocusedWindowCommand.cs
rename to GlazeWM.Domain/Windows/Commands/MoveFocusedWindowCommand.cs
index b72a0109..15392a57 100644
--- a/LarsWM.Domain/Windows/Commands/MoveFocusedWindowCommand.cs
+++ b/GlazeWM.Domain/Windows/Commands/MoveFocusedWindowCommand.cs
@@ -1,7 +1,7 @@
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Windows.Commands
+namespace GlazeWM.Domain.Windows.Commands
{
public class MoveFocusedWindowCommand : Command
{
diff --git a/LarsWM.Domain/Windows/Commands/RemoveWindowCommand.cs b/GlazeWM.Domain/Windows/Commands/RemoveWindowCommand.cs
similarity index 67%
rename from LarsWM.Domain/Windows/Commands/RemoveWindowCommand.cs
rename to GlazeWM.Domain/Windows/Commands/RemoveWindowCommand.cs
index 7ac7fc98..4fa674a3 100644
--- a/LarsWM.Domain/Windows/Commands/RemoveWindowCommand.cs
+++ b/GlazeWM.Domain/Windows/Commands/RemoveWindowCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Windows.Commands
+namespace GlazeWM.Domain.Windows.Commands
{
public class RemoveWindowCommand : Command
{
diff --git a/LarsWM.Domain/Windows/Commands/ResizeFocusedWindowCommand.cs b/GlazeWM.Domain/Windows/Commands/ResizeFocusedWindowCommand.cs
similarity index 67%
rename from LarsWM.Domain/Windows/Commands/ResizeFocusedWindowCommand.cs
rename to GlazeWM.Domain/Windows/Commands/ResizeFocusedWindowCommand.cs
index 996f89ec..8ccb3bc9 100644
--- a/LarsWM.Domain/Windows/Commands/ResizeFocusedWindowCommand.cs
+++ b/GlazeWM.Domain/Windows/Commands/ResizeFocusedWindowCommand.cs
@@ -1,7 +1,7 @@
-using LarsWM.Domain.Common.Enums;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Common.Enums;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Windows.Commands
+namespace GlazeWM.Domain.Windows.Commands
{
public class ResizeFocusedWindowCommand : Command
{
diff --git a/LarsWM.Domain/Windows/EventHandlers/WindowDestroyedHandler.cs b/GlazeWM.Domain/Windows/EventHandlers/WindowDestroyedHandler.cs
similarity index 76%
rename from LarsWM.Domain/Windows/EventHandlers/WindowDestroyedHandler.cs
rename to GlazeWM.Domain/Windows/EventHandlers/WindowDestroyedHandler.cs
index af5f95ab..4ab4b553 100644
--- a/LarsWM.Domain/Windows/EventHandlers/WindowDestroyedHandler.cs
+++ b/GlazeWM.Domain/Windows/EventHandlers/WindowDestroyedHandler.cs
@@ -1,10 +1,10 @@
using System.Linq;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.WindowsApi.Events;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.WindowsApi.Events;
-namespace LarsWM.Domain.Windows.EventHandlers
+namespace GlazeWM.Domain.Windows.EventHandlers
{
class WindowDestroyedHandler : IEventHandler<WindowDestroyedEvent>
{
diff --git a/LarsWM.Domain/Windows/EventHandlers/WindowFocusedHandler.cs b/GlazeWM.Domain/Windows/EventHandlers/WindowFocusedHandler.cs
similarity index 82%
rename from LarsWM.Domain/Windows/EventHandlers/WindowFocusedHandler.cs
rename to GlazeWM.Domain/Windows/EventHandlers/WindowFocusedHandler.cs
index 91076544..7aa21a2a 100644
--- a/LarsWM.Domain/Windows/EventHandlers/WindowFocusedHandler.cs
+++ b/GlazeWM.Domain/Windows/EventHandlers/WindowFocusedHandler.cs
@@ -1,12 +1,12 @@
using System.Linq;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Domain.Workspaces;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.WindowsApi.Events;
-
-namespace LarsWM.Domain.Windows.EventHandlers
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Domain.Workspaces;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.WindowsApi.Events;
+
+namespace GlazeWM.Domain.Windows.EventHandlers
{
class WindowFocusedHandler : IEventHandler<WindowFocusedEvent>
{
diff --git a/LarsWM.Domain/Windows/EventHandlers/WindowHiddenHandler.cs b/GlazeWM.Domain/Windows/EventHandlers/WindowHiddenHandler.cs
similarity index 78%
rename from LarsWM.Domain/Windows/EventHandlers/WindowHiddenHandler.cs
rename to GlazeWM.Domain/Windows/EventHandlers/WindowHiddenHandler.cs
index 718dd70c..c36814d9 100644
--- a/LarsWM.Domain/Windows/EventHandlers/WindowHiddenHandler.cs
+++ b/GlazeWM.Domain/Windows/EventHandlers/WindowHiddenHandler.cs
@@ -1,10 +1,10 @@
using System.Linq;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.WindowsApi.Events;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.WindowsApi.Events;
-namespace LarsWM.Domain.Windows.EventHandlers
+namespace GlazeWM.Domain.Windows.EventHandlers
{
class WindowHiddenHandler : IEventHandler<WindowHiddenEvent>
{
diff --git a/LarsWM.Domain/Windows/EventHandlers/WindowShownHandler.cs b/GlazeWM.Domain/Windows/EventHandlers/WindowShownHandler.cs
similarity index 78%
rename from LarsWM.Domain/Windows/EventHandlers/WindowShownHandler.cs
rename to GlazeWM.Domain/Windows/EventHandlers/WindowShownHandler.cs
index 71da859b..1ea79b3c 100644
--- a/LarsWM.Domain/Windows/EventHandlers/WindowShownHandler.cs
+++ b/GlazeWM.Domain/Windows/EventHandlers/WindowShownHandler.cs
@@ -1,9 +1,9 @@
using System.Linq;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.WindowsApi.Events;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.WindowsApi.Events;
-namespace LarsWM.Domain.Windows.EventHandlers
+namespace GlazeWM.Domain.Windows.EventHandlers
{
class WindowShownHandler : IEventHandler<WindowShownEvent>
{
diff --git a/LarsWM.Domain/Windows/Events/FocusedWindowMovedEvent.cs b/GlazeWM.Domain/Windows/Events/FocusedWindowMovedEvent.cs
similarity index 74%
rename from LarsWM.Domain/Windows/Events/FocusedWindowMovedEvent.cs
rename to GlazeWM.Domain/Windows/Events/FocusedWindowMovedEvent.cs
index 65c40bfe..e9159603 100644
--- a/LarsWM.Domain/Windows/Events/FocusedWindowMovedEvent.cs
+++ b/GlazeWM.Domain/Windows/Events/FocusedWindowMovedEvent.cs
@@ -1,7 +1,7 @@
-using LarsWM.Domain.Windows;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Windows;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Containers.Events
+namespace GlazeWM.Domain.Containers.Events
{
public class FocusedWindowMovedEvent : Event
{
diff --git a/LarsWM.Domain/Windows/Window.cs b/GlazeWM.Domain/Windows/Window.cs
similarity index 90%
rename from LarsWM.Domain/Windows/Window.cs
rename to GlazeWM.Domain/Windows/Window.cs
index 9632fe3e..aba61c6c 100644
--- a/LarsWM.Domain/Windows/Window.cs
+++ b/GlazeWM.Domain/Windows/Window.cs
@@ -1,12 +1,12 @@
using System;
using System.Diagnostics;
-using LarsWM.Domain.Containers;
-using LarsWM.Infrastructure;
-using LarsWM.Infrastructure.WindowsApi;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Infrastructure;
+using GlazeWM.Infrastructure.WindowsApi;
using Microsoft.Extensions.DependencyInjection;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Domain.Windows
+namespace GlazeWM.Domain.Windows
{
public class Window : Container
{
diff --git a/LarsWM.Domain/Windows/WindowService.cs b/GlazeWM.Domain/Windows/WindowService.cs
similarity index 95%
rename from LarsWM.Domain/Windows/WindowService.cs
rename to GlazeWM.Domain/Windows/WindowService.cs
index 2bc762a9..224a4731 100644
--- a/LarsWM.Domain/Windows/WindowService.cs
+++ b/GlazeWM.Domain/Windows/WindowService.cs
@@ -4,12 +4,12 @@ using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.UserConfigs;
-using LarsWM.Infrastructure.WindowsApi;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.UserConfigs;
+using GlazeWM.Infrastructure.WindowsApi;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Domain.Windows
+namespace GlazeWM.Domain.Windows
{
public class WindowService
{
diff --git a/LarsWM.Domain/Workspaces/CommandHandlers/AttachWorkspaceToMonitorHandler.cs b/GlazeWM.Domain/Workspaces/CommandHandlers/AttachWorkspaceToMonitorHandler.cs
similarity index 78%
rename from LarsWM.Domain/Workspaces/CommandHandlers/AttachWorkspaceToMonitorHandler.cs
rename to GlazeWM.Domain/Workspaces/CommandHandlers/AttachWorkspaceToMonitorHandler.cs
index 5a4a0856..dc8d2aac 100644
--- a/LarsWM.Domain/Workspaces/CommandHandlers/AttachWorkspaceToMonitorHandler.cs
+++ b/GlazeWM.Domain/Workspaces/CommandHandlers/AttachWorkspaceToMonitorHandler.cs
@@ -1,8 +1,8 @@
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Domain.Workspaces.Events;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Domain.Workspaces.Events;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Workspaces.CommandHandlers
+namespace GlazeWM.Domain.Workspaces.CommandHandlers
{
class AttachWorkspaceToMonitorHandler : ICommandHandler<AttachWorkspaceToMonitorCommand>
{
diff --git a/LarsWM.Domain/Workspaces/CommandHandlers/CreateWorkspaceHandler.cs b/GlazeWM.Domain/Workspaces/CommandHandlers/CreateWorkspaceHandler.cs
similarity index 75%
rename from LarsWM.Domain/Workspaces/CommandHandlers/CreateWorkspaceHandler.cs
rename to GlazeWM.Domain/Workspaces/CommandHandlers/CreateWorkspaceHandler.cs
index 54b89658..b873e830 100644
--- a/LarsWM.Domain/Workspaces/CommandHandlers/CreateWorkspaceHandler.cs
+++ b/GlazeWM.Domain/Workspaces/CommandHandlers/CreateWorkspaceHandler.cs
@@ -1,8 +1,8 @@
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.Workspaces.Commands;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.Workspaces.Commands;
-namespace LarsWM.Domain.Workspaces.CommandHandlers
+namespace GlazeWM.Domain.Workspaces.CommandHandlers
{
class CreateWorkspaceHandler : ICommandHandler<CreateWorkspaceCommand>
{
diff --git a/LarsWM.Domain/Workspaces/CommandHandlers/DetachWorkspaceFromMonitorHandler.cs b/GlazeWM.Domain/Workspaces/CommandHandlers/DetachWorkspaceFromMonitorHandler.cs
similarity index 77%
rename from LarsWM.Domain/Workspaces/CommandHandlers/DetachWorkspaceFromMonitorHandler.cs
rename to GlazeWM.Domain/Workspaces/CommandHandlers/DetachWorkspaceFromMonitorHandler.cs
index 65433a99..fec36dcc 100644
--- a/LarsWM.Domain/Workspaces/CommandHandlers/DetachWorkspaceFromMonitorHandler.cs
+++ b/GlazeWM.Domain/Workspaces/CommandHandlers/DetachWorkspaceFromMonitorHandler.cs
@@ -1,9 +1,9 @@
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Domain.Workspaces.Events;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Domain.Workspaces.Events;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Workspaces.CommandHandlers
+namespace GlazeWM.Domain.Workspaces.CommandHandlers
{
class DetachWorkspaceFromMonitorHandler : ICommandHandler<DetachWorkspaceFromMonitorCommand>
{
diff --git a/LarsWM.Domain/Workspaces/CommandHandlers/DisplayWorkspaceHandler.cs b/GlazeWM.Domain/Workspaces/CommandHandlers/DisplayWorkspaceHandler.cs
similarity index 87%
rename from LarsWM.Domain/Workspaces/CommandHandlers/DisplayWorkspaceHandler.cs
rename to GlazeWM.Domain/Workspaces/CommandHandlers/DisplayWorkspaceHandler.cs
index 4bf11c3a..b81d5cec 100644
--- a/LarsWM.Domain/Workspaces/CommandHandlers/DisplayWorkspaceHandler.cs
+++ b/GlazeWM.Domain/Workspaces/CommandHandlers/DisplayWorkspaceHandler.cs
@@ -1,12 +1,12 @@
using System.Linq;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.Windows;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.Windows;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Workspaces.CommandHandlers
+namespace GlazeWM.Domain.Workspaces.CommandHandlers
{
class DisplayWorkspaceHandler : ICommandHandler<DisplayWorkspaceCommand>
{
diff --git a/LarsWM.Domain/Workspaces/CommandHandlers/FocusWorkspaceHandler.cs b/GlazeWM.Domain/Workspaces/CommandHandlers/FocusWorkspaceHandler.cs
similarity index 87%
rename from LarsWM.Domain/Workspaces/CommandHandlers/FocusWorkspaceHandler.cs
rename to GlazeWM.Domain/Workspaces/CommandHandlers/FocusWorkspaceHandler.cs
index ecb55842..1d80df21 100644
--- a/LarsWM.Domain/Workspaces/CommandHandlers/FocusWorkspaceHandler.cs
+++ b/GlazeWM.Domain/Workspaces/CommandHandlers/FocusWorkspaceHandler.cs
@@ -1,14 +1,14 @@
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Domain.Windows.Commands;
-using LarsWM.Domain.Windows;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Containers.Events;
-using LarsWM.Domain.Containers.Commands;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
-
-namespace LarsWM.Domain.Workspaces.CommandHandlers
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Domain.Windows.Commands;
+using GlazeWM.Domain.Windows;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Containers.Events;
+using GlazeWM.Domain.Containers.Commands;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
+
+namespace GlazeWM.Domain.Workspaces.CommandHandlers
{
class FocusWorkspaceHandler : ICommandHandler<FocusWorkspaceCommand>
{
diff --git a/LarsWM.Domain/Workspaces/CommandHandlers/MoveFocusedWindowToWorkspaceHandler.cs b/GlazeWM.Domain/Workspaces/CommandHandlers/MoveFocusedWindowToWorkspaceHandler.cs
similarity index 88%
rename from LarsWM.Domain/Workspaces/CommandHandlers/MoveFocusedWindowToWorkspaceHandler.cs
rename to GlazeWM.Domain/Workspaces/CommandHandlers/MoveFocusedWindowToWorkspaceHandler.cs
index 5ac47aa4..9991179a 100644
--- a/LarsWM.Domain/Workspaces/CommandHandlers/MoveFocusedWindowToWorkspaceHandler.cs
+++ b/GlazeWM.Domain/Workspaces/CommandHandlers/MoveFocusedWindowToWorkspaceHandler.cs
@@ -1,13 +1,13 @@
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Domain.Workspaces.Commands;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Windows;
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.Containers.Commands;
-using LarsWM.Domain.Containers.Events;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Workspaces.Commands;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Windows;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.Containers.Commands;
+using GlazeWM.Domain.Containers.Events;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Domain.Workspaces.CommandHandlers
+namespace GlazeWM.Domain.Workspaces.CommandHandlers
{
class MoveFocusedWindowToWorkspaceHandler : ICommandHandler<MoveFocusedWindowToWorkspaceCommand>
{
diff --git a/LarsWM.Domain/Workspaces/Commands/AttachWorkspaceToMonitorCommand.cs b/GlazeWM.Domain/Workspaces/Commands/AttachWorkspaceToMonitorCommand.cs
similarity index 71%
rename from LarsWM.Domain/Workspaces/Commands/AttachWorkspaceToMonitorCommand.cs
rename to GlazeWM.Domain/Workspaces/Commands/AttachWorkspaceToMonitorCommand.cs
index 36ca7fa4..1cf86b2e 100644
--- a/LarsWM.Domain/Workspaces/Commands/AttachWorkspaceToMonitorCommand.cs
+++ b/GlazeWM.Domain/Workspaces/Commands/AttachWorkspaceToMonitorCommand.cs
@@ -1,7 +1,7 @@
-using LarsWM.Domain.Monitors;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Workspaces.Commands
+namespace GlazeWM.Domain.Workspaces.Commands
{
class AttachWorkspaceToMonitorCommand : Command
{
diff --git a/LarsWM.Domain/Workspaces/Commands/CreateWorkspaceCommand.cs b/GlazeWM.Domain/Workspaces/Commands/CreateWorkspaceCommand.cs
similarity index 72%
rename from LarsWM.Domain/Workspaces/Commands/CreateWorkspaceCommand.cs
rename to GlazeWM.Domain/Workspaces/Commands/CreateWorkspaceCommand.cs
index 12ce1d34..66b9b228 100644
--- a/LarsWM.Domain/Workspaces/Commands/CreateWorkspaceCommand.cs
+++ b/GlazeWM.Domain/Workspaces/Commands/CreateWorkspaceCommand.cs
@@ -1,7 +1,7 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
using System;
-namespace LarsWM.Domain.Workspaces.Commands
+namespace GlazeWM.Domain.Workspaces.Commands
{
class CreateWorkspaceCommand : Command
{
diff --git a/LarsWM.Domain/Workspaces/Commands/DetachWorkspaceFromMonitorCommand.cs b/GlazeWM.Domain/Workspaces/Commands/DetachWorkspaceFromMonitorCommand.cs
similarity index 71%
rename from LarsWM.Domain/Workspaces/Commands/DetachWorkspaceFromMonitorCommand.cs
rename to GlazeWM.Domain/Workspaces/Commands/DetachWorkspaceFromMonitorCommand.cs
index 97e494c6..8b8b6ee4 100644
--- a/LarsWM.Domain/Workspaces/Commands/DetachWorkspaceFromMonitorCommand.cs
+++ b/GlazeWM.Domain/Workspaces/Commands/DetachWorkspaceFromMonitorCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Workspaces.Commands
+namespace GlazeWM.Domain.Workspaces.Commands
{
class DetachWorkspaceFromMonitorCommand : Command
{
diff --git a/LarsWM.Domain/Workspaces/Commands/DisplayWorkspaceCommand.cs b/GlazeWM.Domain/Workspaces/Commands/DisplayWorkspaceCommand.cs
similarity index 69%
rename from LarsWM.Domain/Workspaces/Commands/DisplayWorkspaceCommand.cs
rename to GlazeWM.Domain/Workspaces/Commands/DisplayWorkspaceCommand.cs
index 25da1283..4c8dd1db 100644
--- a/LarsWM.Domain/Workspaces/Commands/DisplayWorkspaceCommand.cs
+++ b/GlazeWM.Domain/Workspaces/Commands/DisplayWorkspaceCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Workspaces.Commands
+namespace GlazeWM.Domain.Workspaces.Commands
{
class DisplayWorkspaceCommand : Command
{
diff --git a/LarsWM.Domain/Workspaces/Commands/FocusWorkspaceCommand.cs b/GlazeWM.Domain/Workspaces/Commands/FocusWorkspaceCommand.cs
similarity index 70%
rename from LarsWM.Domain/Workspaces/Commands/FocusWorkspaceCommand.cs
rename to GlazeWM.Domain/Workspaces/Commands/FocusWorkspaceCommand.cs
index 2eabaade..e0dca6be 100644
--- a/LarsWM.Domain/Workspaces/Commands/FocusWorkspaceCommand.cs
+++ b/GlazeWM.Domain/Workspaces/Commands/FocusWorkspaceCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Workspaces.Commands
+namespace GlazeWM.Domain.Workspaces.Commands
{
public class FocusWorkspaceCommand : Command
{
diff --git a/LarsWM.Domain/Workspaces/Commands/MoveFocusedWindowToWorkspaceCommand.cs b/GlazeWM.Domain/Workspaces/Commands/MoveFocusedWindowToWorkspaceCommand.cs
similarity index 72%
rename from LarsWM.Domain/Workspaces/Commands/MoveFocusedWindowToWorkspaceCommand.cs
rename to GlazeWM.Domain/Workspaces/Commands/MoveFocusedWindowToWorkspaceCommand.cs
index c7878f94..522cad0e 100644
--- a/LarsWM.Domain/Workspaces/Commands/MoveFocusedWindowToWorkspaceCommand.cs
+++ b/GlazeWM.Domain/Workspaces/Commands/MoveFocusedWindowToWorkspaceCommand.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Workspaces.Commands
+namespace GlazeWM.Domain.Workspaces.Commands
{
class MoveFocusedWindowToWorkspaceCommand : Command
{
diff --git a/LarsWM.Domain/Workspaces/Events/WorkspaceAttachedEvent.cs b/GlazeWM.Domain/Workspaces/Events/WorkspaceAttachedEvent.cs
similarity index 73%
rename from LarsWM.Domain/Workspaces/Events/WorkspaceAttachedEvent.cs
rename to GlazeWM.Domain/Workspaces/Events/WorkspaceAttachedEvent.cs
index 18c75c00..d19b92f4 100644
--- a/LarsWM.Domain/Workspaces/Events/WorkspaceAttachedEvent.cs
+++ b/GlazeWM.Domain/Workspaces/Events/WorkspaceAttachedEvent.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Workspaces.Events
+namespace GlazeWM.Domain.Workspaces.Events
{
public class WorkspaceAttachedEvent : Event
{
diff --git a/LarsWM.Domain/Workspaces/Events/WorkspaceDetachedEvent.cs b/GlazeWM.Domain/Workspaces/Events/WorkspaceDetachedEvent.cs
similarity index 73%
rename from LarsWM.Domain/Workspaces/Events/WorkspaceDetachedEvent.cs
rename to GlazeWM.Domain/Workspaces/Events/WorkspaceDetachedEvent.cs
index fbd1d1c1..63bee5be 100644
--- a/LarsWM.Domain/Workspaces/Events/WorkspaceDetachedEvent.cs
+++ b/GlazeWM.Domain/Workspaces/Events/WorkspaceDetachedEvent.cs
@@ -1,6 +1,6 @@
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Domain.Workspaces.Events
+namespace GlazeWM.Domain.Workspaces.Events
{
public class WorkspaceDetachedEvent : Event
{
diff --git a/LarsWM.Domain/Workspaces/Workspace.cs b/GlazeWM.Domain/Workspaces/Workspace.cs
similarity index 92%
rename from LarsWM.Domain/Workspaces/Workspace.cs
rename to GlazeWM.Domain/Workspaces/Workspace.cs
index c98962da..2fc35b0a 100644
--- a/LarsWM.Domain/Workspaces/Workspace.cs
+++ b/GlazeWM.Domain/Workspaces/Workspace.cs
@@ -1,11 +1,11 @@
using System;
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Monitors;
-using LarsWM.Domain.UserConfigs;
-using LarsWM.Infrastructure;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Monitors;
+using GlazeWM.Domain.UserConfigs;
+using GlazeWM.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
-namespace LarsWM.Domain.Workspaces
+namespace GlazeWM.Domain.Workspaces
{
public class Workspace : SplitContainer
{
diff --git a/LarsWM.Domain/Workspaces/WorkspaceService.cs b/GlazeWM.Domain/Workspaces/WorkspaceService.cs
similarity index 93%
rename from LarsWM.Domain/Workspaces/WorkspaceService.cs
rename to GlazeWM.Domain/Workspaces/WorkspaceService.cs
index 2fabe85c..9e9c7e4b 100644
--- a/LarsWM.Domain/Workspaces/WorkspaceService.cs
+++ b/GlazeWM.Domain/Workspaces/WorkspaceService.cs
@@ -1,9 +1,9 @@
-using LarsWM.Domain.Containers;
-using LarsWM.Domain.Monitors;
+using GlazeWM.Domain.Containers;
+using GlazeWM.Domain.Monitors;
using System.Collections.Generic;
using System.Linq;
-namespace LarsWM.Domain.Workspaces
+namespace GlazeWM.Domain.Workspaces
{
public class WorkspaceService
{
diff --git a/LarsWM.Infrastructure/Bussing/Bus.cs b/GlazeWM.Infrastructure/Bussing/Bus.cs
similarity index 98%
rename from LarsWM.Infrastructure/Bussing/Bus.cs
rename to GlazeWM.Infrastructure/Bussing/Bus.cs
index 51c717f1..6dc21ebf 100644
--- a/LarsWM.Infrastructure/Bussing/Bus.cs
+++ b/GlazeWM.Infrastructure/Bussing/Bus.cs
@@ -6,7 +6,7 @@ using System.IO;
using System.Reactive.Subjects;
using System.Windows;
-namespace LarsWM.Infrastructure.Bussing
+namespace GlazeWM.Infrastructure.Bussing
{
/// <summary>
/// Bus facilitates communication to command and event handlers.
diff --git a/LarsWM.Infrastructure/Bussing/Command.cs b/GlazeWM.Infrastructure/Bussing/Command.cs
similarity index 71%
rename from LarsWM.Infrastructure/Bussing/Command.cs
rename to GlazeWM.Infrastructure/Bussing/Command.cs
index 06079bab..45aab465 100644
--- a/LarsWM.Infrastructure/Bussing/Command.cs
+++ b/GlazeWM.Infrastructure/Bussing/Command.cs
@@ -1,12 +1,12 @@
-namespace LarsWM.Infrastructure.Bussing
-{
- public class Command
- {
- public string Name { get; set; }
-
- public Command()
- {
- Name = GetType().Name;
- }
- }
-}
+namespace GlazeWM.Infrastructure.Bussing
+{
+ public class Command
+ {
+ public string Name { get; set; }
+
+ public Command()
+ {
+ Name = GetType().Name;
+ }
+ }
+}
diff --git a/LarsWM.Infrastructure/Bussing/CommandResponse.cs b/GlazeWM.Infrastructure/Bussing/CommandResponse.cs
similarity index 92%
rename from LarsWM.Infrastructure/Bussing/CommandResponse.cs
rename to GlazeWM.Infrastructure/Bussing/CommandResponse.cs
index 1bf3c717..ea9b5d14 100644
--- a/LarsWM.Infrastructure/Bussing/CommandResponse.cs
+++ b/GlazeWM.Infrastructure/Bussing/CommandResponse.cs
@@ -1,6 +1,6 @@
using System;
-namespace LarsWM.Infrastructure.Bussing
+namespace GlazeWM.Infrastructure.Bussing
{
public class CommandResponse
{
diff --git a/LarsWM.Infrastructure/Bussing/Event.cs b/GlazeWM.Infrastructure/Bussing/Event.cs
similarity index 70%
rename from LarsWM.Infrastructure/Bussing/Event.cs
rename to GlazeWM.Infrastructure/Bussing/Event.cs
index a627ac4e..9140e1a7 100644
--- a/LarsWM.Infrastructure/Bussing/Event.cs
+++ b/GlazeWM.Infrastructure/Bussing/Event.cs
@@ -1,12 +1,12 @@
-namespace LarsWM.Infrastructure.Bussing
-{
- public class Event
- {
- public string Name { get; set; }
-
- public Event()
- {
- Name = GetType().Name;
- }
- }
-}
+namespace GlazeWM.Infrastructure.Bussing
+{
+ public class Event
+ {
+ public string Name { get; set; }
+
+ public Event()
+ {
+ Name = GetType().Name;
+ }
+ }
+}
diff --git a/LarsWM.Infrastructure/Bussing/ICommandHandler.cs b/GlazeWM.Infrastructure/Bussing/ICommandHandler.cs
similarity index 71%
rename from LarsWM.Infrastructure/Bussing/ICommandHandler.cs
rename to GlazeWM.Infrastructure/Bussing/ICommandHandler.cs
index 08eb4e2d..337fbcad 100644
--- a/LarsWM.Infrastructure/Bussing/ICommandHandler.cs
+++ b/GlazeWM.Infrastructure/Bussing/ICommandHandler.cs
@@ -1,7 +1,7 @@
-namespace LarsWM.Infrastructure.Bussing
-{
- public interface ICommandHandler<TCommand> where TCommand : Command
- {
- CommandResponse Handle(TCommand command);
- }
-}
+namespace GlazeWM.Infrastructure.Bussing
+{
+ public interface ICommandHandler<TCommand> where TCommand : Command
+ {
+ CommandResponse Handle(TCommand command);
+ }
+}
diff --git a/LarsWM.Infrastructure/Bussing/IEventHandler.cs b/GlazeWM.Infrastructure/Bussing/IEventHandler.cs
similarity index 67%
rename from LarsWM.Infrastructure/Bussing/IEventHandler.cs
rename to GlazeWM.Infrastructure/Bussing/IEventHandler.cs
index c9f2d286..f3f8f30f 100644
--- a/LarsWM.Infrastructure/Bussing/IEventHandler.cs
+++ b/GlazeWM.Infrastructure/Bussing/IEventHandler.cs
@@ -1,7 +1,7 @@
-namespace LarsWM.Infrastructure.Bussing
-{
- public interface IEventHandler<TEvent> where TEvent : Event
- {
- void Handle(TEvent @event);
- }
-}
+namespace GlazeWM.Infrastructure.Bussing
+{
+ public interface IEventHandler<TEvent> where TEvent : Event
+ {
+ void Handle(TEvent @event);
+ }
+}
diff --git a/LarsWM.Infrastructure/DependencyInjection.cs b/GlazeWM.Infrastructure/DependencyInjection.cs
similarity index 77%
rename from LarsWM.Infrastructure/DependencyInjection.cs
rename to GlazeWM.Infrastructure/DependencyInjection.cs
index e5d91c35..17a3cd2e 100644
--- a/LarsWM.Infrastructure/DependencyInjection.cs
+++ b/GlazeWM.Infrastructure/DependencyInjection.cs
@@ -1,20 +1,20 @@
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.WindowsApi;
-using Microsoft.Extensions.DependencyInjection;
-
-namespace LarsWM.Infrastructure
-{
- public static class DependencyInjection
- {
- public static IServiceCollection AddInfrastructureServices(this IServiceCollection services)
- {
- services.AddSingleton<Bus>();
- services.AddSingleton<WindowEventService>();
- services.AddSingleton<KeybindingService>();
-
- // TODO: Change WindowsApiFacade & WindowsApiService to be compatible with DI.
-
- return services;
- }
- }
-}
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.WindowsApi;
+using Microsoft.Extensions.DependencyInjection;
+
+namespace GlazeWM.Infrastructure
+{
+ public static class DependencyInjection
+ {
+ public static IServiceCollection AddInfrastructureServices(this IServiceCollection services)
+ {
+ services.AddSingleton<Bus>();
+ services.AddSingleton<WindowEventService>();
+ services.AddSingleton<KeybindingService>();
+
+ // TODO: Change WindowsApiFacade & WindowsApiService to be compatible with DI.
+
+ return services;
+ }
+ }
+}
diff --git a/LarsWM.Infrastructure/Exceptions/FatalUserException.cs b/GlazeWM.Infrastructure/Exceptions/FatalUserException.cs
similarity index 100%
rename from LarsWM.Infrastructure/Exceptions/FatalUserException.cs
rename to GlazeWM.Infrastructure/Exceptions/FatalUserException.cs
diff --git a/LarsWM.Infrastructure/LarsWM.Infrastructure.csproj b/GlazeWM.Infrastructure/GlazeWM.Infrastructure.csproj
similarity index 100%
rename from LarsWM.Infrastructure/LarsWM.Infrastructure.csproj
rename to GlazeWM.Infrastructure/GlazeWM.Infrastructure.csproj
diff --git a/LarsWM.Infrastructure/ServiceLocator.cs b/GlazeWM.Infrastructure/ServiceLocator.cs
similarity index 79%
rename from LarsWM.Infrastructure/ServiceLocator.cs
rename to GlazeWM.Infrastructure/ServiceLocator.cs
index d65f49dd..ea05ab28 100644
--- a/LarsWM.Infrastructure/ServiceLocator.cs
+++ b/GlazeWM.Infrastructure/ServiceLocator.cs
@@ -1,11 +1,11 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace LarsWM.Infrastructure
-{
- public class ServiceLocator
- {
- public static IServiceProvider Provider { get; set; }
- }
-}
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace GlazeWM.Infrastructure
+{
+ public class ServiceLocator
+ {
+ public static IServiceProvider Provider { get; set; }
+ }
+}
diff --git a/LarsWM.Infrastructure/Utils/ListExtensions.cs b/GlazeWM.Infrastructure/Utils/ListExtensions.cs
similarity index 95%
rename from LarsWM.Infrastructure/Utils/ListExtensions.cs
rename to GlazeWM.Infrastructure/Utils/ListExtensions.cs
index ccf1eb2c..0b69e7b4 100644
--- a/LarsWM.Infrastructure/Utils/ListExtensions.cs
+++ b/GlazeWM.Infrastructure/Utils/ListExtensions.cs
@@ -1,6 +1,6 @@
using System.Collections.Generic;
-namespace LarsWM.Infrastructure.Utils
+namespace GlazeWM.Infrastructure.Utils
{
public static class ListExtensions
{
diff --git a/LarsWM.Infrastructure/WindowsApi/Enums/EventConstant.cs b/GlazeWM.Infrastructure/WindowsApi/Enums/EventConstant.cs
similarity index 89%
rename from LarsWM.Infrastructure/WindowsApi/Enums/EventConstant.cs
rename to GlazeWM.Infrastructure/WindowsApi/Enums/EventConstant.cs
index 3e0f2ae7..87f68d4f 100644
--- a/LarsWM.Infrastructure/WindowsApi/Enums/EventConstant.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/Enums/EventConstant.cs
@@ -1,4 +1,4 @@
-namespace LarsWM.Infrastructure.WindowsApi.Enums
+namespace GlazeWM.Infrastructure.WindowsApi.Enums
{
/// <summary>
/// Only the subset of event constants relevant to this application are included.
diff --git a/LarsWM.Infrastructure/WindowsApi/Enums/ObjectIdentifier.cs b/GlazeWM.Infrastructure/WindowsApi/Enums/ObjectIdentifier.cs
similarity index 87%
rename from LarsWM.Infrastructure/WindowsApi/Enums/ObjectIdentifier.cs
rename to GlazeWM.Infrastructure/WindowsApi/Enums/ObjectIdentifier.cs
index 1a285ae1..3a4a57f7 100644
--- a/LarsWM.Infrastructure/WindowsApi/Enums/ObjectIdentifier.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/Enums/ObjectIdentifier.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Text;
-namespace LarsWM.Infrastructure.WindowsApi.Enums
+namespace GlazeWM.Infrastructure.WindowsApi.Enums
{
/// <summary>
/// Identifies categories of accessible objects within a window (including the window object itself).
diff --git a/LarsWM.Infrastructure/WindowsApi/Events/WindowDestroyedEvent.cs b/GlazeWM.Infrastructure/WindowsApi/Events/WindowDestroyedEvent.cs
similarity index 70%
rename from LarsWM.Infrastructure/WindowsApi/Events/WindowDestroyedEvent.cs
rename to GlazeWM.Infrastructure/WindowsApi/Events/WindowDestroyedEvent.cs
index ddae1ac0..5a7ec23a 100644
--- a/LarsWM.Infrastructure/WindowsApi/Events/WindowDestroyedEvent.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/Events/WindowDestroyedEvent.cs
@@ -1,7 +1,7 @@
using System;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Infrastructure.WindowsApi.Events
+namespace GlazeWM.Infrastructure.WindowsApi.Events
{
public class WindowDestroyedEvent : Event
{
diff --git a/LarsWM.Infrastructure/WindowsApi/Events/WindowFocusedEvent.cs b/GlazeWM.Infrastructure/WindowsApi/Events/WindowFocusedEvent.cs
similarity index 70%
rename from LarsWM.Infrastructure/WindowsApi/Events/WindowFocusedEvent.cs
rename to GlazeWM.Infrastructure/WindowsApi/Events/WindowFocusedEvent.cs
index f3fd5883..3e1c3dea 100644
--- a/LarsWM.Infrastructure/WindowsApi/Events/WindowFocusedEvent.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/Events/WindowFocusedEvent.cs
@@ -1,7 +1,7 @@
using System;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Infrastructure.WindowsApi.Events
+namespace GlazeWM.Infrastructure.WindowsApi.Events
{
public class WindowFocusedEvent : Event
{
diff --git a/LarsWM.Infrastructure/WindowsApi/Events/WindowHiddenEvent.cs b/GlazeWM.Infrastructure/WindowsApi/Events/WindowHiddenEvent.cs
similarity index 70%
rename from LarsWM.Infrastructure/WindowsApi/Events/WindowHiddenEvent.cs
rename to GlazeWM.Infrastructure/WindowsApi/Events/WindowHiddenEvent.cs
index ad3f8549..888118fb 100644
--- a/LarsWM.Infrastructure/WindowsApi/Events/WindowHiddenEvent.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/Events/WindowHiddenEvent.cs
@@ -1,7 +1,7 @@
using System;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Infrastructure.WindowsApi.Events
+namespace GlazeWM.Infrastructure.WindowsApi.Events
{
public class WindowHiddenEvent : Event
{
diff --git a/LarsWM.Infrastructure/WindowsApi/Events/WindowMinimizeEndedEvent.cs b/GlazeWM.Infrastructure/WindowsApi/Events/WindowMinimizeEndedEvent.cs
similarity index 71%
rename from LarsWM.Infrastructure/WindowsApi/Events/WindowMinimizeEndedEvent.cs
rename to GlazeWM.Infrastructure/WindowsApi/Events/WindowMinimizeEndedEvent.cs
index 14a74490..2b581daf 100644
--- a/LarsWM.Infrastructure/WindowsApi/Events/WindowMinimizeEndedEvent.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/Events/WindowMinimizeEndedEvent.cs
@@ -1,7 +1,7 @@
using System;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Infrastructure.WindowsApi.Events
+namespace GlazeWM.Infrastructure.WindowsApi.Events
{
public class WindowMinimizeEndedEvent : Event
{
diff --git a/LarsWM.Infrastructure/WindowsApi/Events/WindowMinimizedEvent.cs b/GlazeWM.Infrastructure/WindowsApi/Events/WindowMinimizedEvent.cs
similarity index 70%
rename from LarsWM.Infrastructure/WindowsApi/Events/WindowMinimizedEvent.cs
rename to GlazeWM.Infrastructure/WindowsApi/Events/WindowMinimizedEvent.cs
index 277500b8..ff06f156 100644
--- a/LarsWM.Infrastructure/WindowsApi/Events/WindowMinimizedEvent.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/Events/WindowMinimizedEvent.cs
@@ -1,7 +1,7 @@
using System;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Infrastructure.WindowsApi.Events
+namespace GlazeWM.Infrastructure.WindowsApi.Events
{
public class WindowMinimizedEvent : Event
{
diff --git a/LarsWM.Infrastructure/WindowsApi/Events/WindowShownEvent.cs b/GlazeWM.Infrastructure/WindowsApi/Events/WindowShownEvent.cs
similarity index 69%
rename from LarsWM.Infrastructure/WindowsApi/Events/WindowShownEvent.cs
rename to GlazeWM.Infrastructure/WindowsApi/Events/WindowShownEvent.cs
index a145ab30..5bb884a5 100644
--- a/LarsWM.Infrastructure/WindowsApi/Events/WindowShownEvent.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/Events/WindowShownEvent.cs
@@ -1,7 +1,7 @@
using System;
-using LarsWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.Bussing;
-namespace LarsWM.Infrastructure.WindowsApi.Events
+namespace GlazeWM.Infrastructure.WindowsApi.Events
{
public class WindowShownEvent : Event
{
diff --git a/LarsWM.Infrastructure/WindowsApi/KeybindingService.cs b/GlazeWM.Infrastructure/WindowsApi/KeybindingService.cs
similarity index 96%
rename from LarsWM.Infrastructure/WindowsApi/KeybindingService.cs
rename to GlazeWM.Infrastructure/WindowsApi/KeybindingService.cs
index 29261e5b..ff6de2cb 100644
--- a/LarsWM.Infrastructure/WindowsApi/KeybindingService.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/KeybindingService.cs
@@ -5,10 +5,10 @@ using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Forms;
-using LarsWM.Infrastructure.Bussing;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using GlazeWM.Infrastructure.Bussing;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Infrastructure.WindowsApi
+namespace GlazeWM.Infrastructure.WindowsApi
{
internal class Keybinding
{
@@ -42,7 +42,7 @@ namespace LarsWM.Infrastructure.WindowsApi
public void Start()
{
var thread = new Thread(() => CreateKeybindingHook());
- thread.Name = "LarsWMKeybindingService";
+ thread.Name = "GlazeWMKeybindingService";
thread.Start();
}
diff --git a/LarsWM.Infrastructure/WindowsApi/SetWindowPosFlags.cs b/GlazeWM.Infrastructure/WindowsApi/SetWindowPosFlags.cs
similarity index 96%
rename from LarsWM.Infrastructure/WindowsApi/SetWindowPosFlags.cs
rename to GlazeWM.Infrastructure/WindowsApi/SetWindowPosFlags.cs
index ac10f1de..c998d13e 100644
--- a/LarsWM.Infrastructure/WindowsApi/SetWindowPosFlags.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/SetWindowPosFlags.cs
@@ -1,68 +1,68 @@
-using System;
-
-namespace LarsWM.Infrastructure.WindowsApi
-{
- /// <summary>
- /// Window sizing and positioning flags
- /// </summary>
- [Flags]
- public enum SetWindowPosFlags : uint
- {
- /// <summary>If the calling thread and the thread that owns the window are attached to different input queues,
- /// the system posts the request to the thread that owns the window. This prevents the calling thread from
- /// blocking its execution while other threads process the request.</summary>
- /// <remarks>SWP_ASYNCWINDOWPOS</remarks>
- AsynchronousWindowPosition = 0x4000,
- /// <summary>Prevents generation of the WM_SYNCPAINT message.</summary>
- /// <remarks>SWP_DEFERERASE</remarks>
- DeferErase = 0x2000,
- /// <summary>Draws a frame (defined in the window's class description) around the window.</summary>
- /// <remarks>SWP_DRAWFRAME</remarks>
- DrawFrame = 0x0020,
- /// <summary>Applies new frame styles set using the SetWindowLong function. Sends a WM_NCCALCSIZE message to
- /// the window, even if the window's size is not being changed. If this flag is not specified, WM_NCCALCSIZE
- /// is sent only when the window's size is being changed.</summary>
- /// <remarks>SWP_FRAMECHANGED</remarks>
- FrameChanged = 0x0020,
- /// <summary>Hides the window.</summary>
- /// <remarks>SWP_HIDEWINDOW</remarks>
- HideWindow = 0x0080,
- /// <summary>Does not activate the window. If this flag is not set, the window is activated and moved to the
- /// top of either the topmost or non-topmost group (depending on the setting of the hWndInsertAfter
- /// parameter).</summary>
- /// <remarks>SWP_NOACTIVATE</remarks>
- DoNotActivate = 0x0010,
- /// <summary>Discards the entire contents of the client area. If this flag is not specified, the valid
- /// contents of the client area are saved and copied back into the client area after the window is sized or
- /// repositioned.</summary>
- /// <remarks>SWP_NOCOPYBITS</remarks>
- DoNotCopyBits = 0x0100,
- /// <summary>Retains the current position (ignores X and Y parameters).</summary>
- /// <remarks>SWP_NOMOVE</remarks>
- IgnoreMove = 0x0002,
- /// <summary>Does not change the owner window's position in the Z order.</summary>
- /// <remarks>SWP_NOOWNERZORDER</remarks>
- DoNotChangeOwnerZOrder = 0x0200,
- /// <summary>Does not redraw changes. If this flag is set, no repainting of any kind occurs. This applies to
- /// the client area, the nonclient area (including the title bar and scroll bars), and any part of the parent
- /// window uncovered as a result of the window being moved. When this flag is set, the application must
- /// explicitly invalidate or redraw any parts of the window and parent window that need redrawing.</summary>
- /// <remarks>SWP_NOREDRAW</remarks>
- DoNotRedraw = 0x0008,
- /// <summary>Same as the SWP_NOOWNERZORDER flag.</summary>
- /// <remarks>SWP_NOREPOSITION</remarks>
- DoNotReposition = 0x0200,
- /// <summary>Prevents the window from receiving the WM_WINDOWPOSCHANGING message.</summary>
- /// <remarks>SWP_NOSENDCHANGING</remarks>
- DoNotSendChangingEvent = 0x0400,
- /// <summary>Retains the current size (ignores the cx and cy parameters).</summary>
- /// <remarks>SWP_NOSIZE</remarks>
- IgnoreResize = 0x0001,
- /// <summary>Retains the current Z order (ignores the hWndInsertAfter parameter).</summary>
- /// <remarks>SWP_NOZORDER</remarks>
- IgnoreZOrder = 0x0004,
- /// <summary>Displays the window.</summary>
- /// <remarks>SWP_SHOWWINDOW</remarks>
- ShowWindow = 0x0040,
- }
-}
+using System;
+
+namespace GlazeWM.Infrastructure.WindowsApi
+{
+ /// <summary>
+ /// Window sizing and positioning flags
+ /// </summary>
+ [Flags]
+ public enum SetWindowPosFlags : uint
+ {
+ /// <summary>If the calling thread and the thread that owns the window are attached to different input queues,
+ /// the system posts the request to the thread that owns the window. This prevents the calling thread from
+ /// blocking its execution while other threads process the request.</summary>
+ /// <remarks>SWP_ASYNCWINDOWPOS</remarks>
+ AsynchronousWindowPosition = 0x4000,
+ /// <summary>Prevents generation of the WM_SYNCPAINT message.</summary>
+ /// <remarks>SWP_DEFERERASE</remarks>
+ DeferErase = 0x2000,
+ /// <summary>Draws a frame (defined in the window's class description) around the window.</summary>
+ /// <remarks>SWP_DRAWFRAME</remarks>
+ DrawFrame = 0x0020,
+ /// <summary>Applies new frame styles set using the SetWindowLong function. Sends a WM_NCCALCSIZE message to
+ /// the window, even if the window's size is not being changed. If this flag is not specified, WM_NCCALCSIZE
+ /// is sent only when the window's size is being changed.</summary>
+ /// <remarks>SWP_FRAMECHANGED</remarks>
+ FrameChanged = 0x0020,
+ /// <summary>Hides the window.</summary>
+ /// <remarks>SWP_HIDEWINDOW</remarks>
+ HideWindow = 0x0080,
+ /// <summary>Does not activate the window. If this flag is not set, the window is activated and moved to the
+ /// top of either the topmost or non-topmost group (depending on the setting of the hWndInsertAfter
+ /// parameter).</summary>
+ /// <remarks>SWP_NOACTIVATE</remarks>
+ DoNotActivate = 0x0010,
+ /// <summary>Discards the entire contents of the client area. If this flag is not specified, the valid
+ /// contents of the client area are saved and copied back into the client area after the window is sized or
+ /// repositioned.</summary>
+ /// <remarks>SWP_NOCOPYBITS</remarks>
+ DoNotCopyBits = 0x0100,
+ /// <summary>Retains the current position (ignores X and Y parameters).</summary>
+ /// <remarks>SWP_NOMOVE</remarks>
+ IgnoreMove = 0x0002,
+ /// <summary>Does not change the owner window's position in the Z order.</summary>
+ /// <remarks>SWP_NOOWNERZORDER</remarks>
+ DoNotChangeOwnerZOrder = 0x0200,
+ /// <summary>Does not redraw changes. If this flag is set, no repainting of any kind occurs. This applies to
+ /// the client area, the nonclient area (including the title bar and scroll bars), and any part of the parent
+ /// window uncovered as a result of the window being moved. When this flag is set, the application must
+ /// explicitly invalidate or redraw any parts of the window and parent window that need redrawing.</summary>
+ /// <remarks>SWP_NOREDRAW</remarks>
+ DoNotRedraw = 0x0008,
+ /// <summary>Same as the SWP_NOOWNERZORDER flag.</summary>
+ /// <remarks>SWP_NOREPOSITION</remarks>
+ DoNotReposition = 0x0200,
+ /// <summary>Prevents the window from receiving the WM_WINDOWPOSCHANGING message.</summary>
+ /// <remarks>SWP_NOSENDCHANGING</remarks>
+ DoNotSendChangingEvent = 0x0400,
+ /// <summary>Retains the current size (ignores the cx and cy parameters).</summary>
+ /// <remarks>SWP_NOSIZE</remarks>
+ IgnoreResize = 0x0001,
+ /// <summary>Retains the current Z order (ignores the hWndInsertAfter parameter).</summary>
+ /// <remarks>SWP_NOZORDER</remarks>
+ IgnoreZOrder = 0x0004,
+ /// <summary>Displays the window.</summary>
+ /// <remarks>SWP_SHOWWINDOW</remarks>
+ ShowWindow = 0x0040,
+ }
+}
diff --git a/LarsWM.Infrastructure/WindowsApi/WindowEventService.cs b/GlazeWM.Infrastructure/WindowsApi/WindowEventService.cs
similarity index 89%
rename from LarsWM.Infrastructure/WindowsApi/WindowEventService.cs
rename to GlazeWM.Infrastructure/WindowsApi/WindowEventService.cs
index f550ffe4..930b6683 100644
--- a/LarsWM.Infrastructure/WindowsApi/WindowEventService.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/WindowEventService.cs
@@ -1,12 +1,12 @@
-using LarsWM.Infrastructure.Bussing;
-using LarsWM.Infrastructure.WindowsApi.Enums;
-using LarsWM.Infrastructure.WindowsApi.Events;
+using GlazeWM.Infrastructure.Bussing;
+using GlazeWM.Infrastructure.WindowsApi.Enums;
+using GlazeWM.Infrastructure.WindowsApi.Events;
using System;
using System.Threading;
using System.Windows.Forms;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using static GlazeWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Infrastructure.WindowsApi
+namespace GlazeWM.Infrastructure.WindowsApi
{
public class WindowEventService
{
@@ -21,7 +21,7 @@ namespace LarsWM.Infrastructure.WindowsApi
public void Start()
{
var thread = new Thread(() => CreateWindowEventHook());
- thread.Name = "LarsWMWindowHooks";
+ thread.Name = "GlazeWMWindowHooks";
thread.Start();
}
diff --git a/LarsWM.Infrastructure/WindowsApi/WindowRect.cs b/GlazeWM.Infrastructure/WindowsApi/WindowRect.cs
similarity index 89%
rename from LarsWM.Infrastructure/WindowsApi/WindowRect.cs
rename to GlazeWM.Infrastructure/WindowsApi/WindowRect.cs
index 286898fa..e1c82ddc 100644
--- a/LarsWM.Infrastructure/WindowsApi/WindowRect.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/WindowRect.cs
@@ -1,25 +1,25 @@
-namespace LarsWM.Infrastructure.WindowsApi
-{
- public struct WindowRect
- {
- /// <summary>
- /// The x-coordinate of the upper-left corner of the rectangle.
- /// </summary>
- public int Left { get; set; }
-
- /// <summary>
- /// The y-coordinate of the upper-left corner of the rectangle.
- /// </summary>
- public int Top { get; set; }
-
- /// <summary>
- /// The x-coordinate of the lower-right corner of the rectangle.
- /// </summary>
- public int Right { get; set; }
-
- /// <summary>
- /// The y-coordinate of the lower-right corner of the rectangle.
- /// </summary>
- public int Bottom { get; set; }
- }
-}
+namespace GlazeWM.Infrastructure.WindowsApi
+{
+ public struct WindowRect
+ {
+ /// <summary>
+ /// The x-coordinate of the upper-left corner of the rectangle.
+ /// </summary>
+ public int Left { get; set; }
+
+ /// <summary>
+ /// The y-coordinate of the upper-left corner of the rectangle.
+ /// </summary>
+ public int Top { get; set; }
+
+ /// <summary>
+ /// The x-coordinate of the lower-right corner of the rectangle.
+ /// </summary>
+ public int Right { get; set; }
+
+ /// <summary>
+ /// The y-coordinate of the lower-right corner of the rectangle.
+ /// </summary>
+ public int Bottom { get; set; }
+ }
+}
diff --git a/LarsWM.Infrastructure/WindowsApi/WindowsApiService.cs b/GlazeWM.Infrastructure/WindowsApi/WindowsApiService.cs
similarity index 99%
rename from LarsWM.Infrastructure/WindowsApi/WindowsApiService.cs
rename to GlazeWM.Infrastructure/WindowsApi/WindowsApiService.cs
index 0659167d..a98eb1e4 100644
--- a/LarsWM.Infrastructure/WindowsApi/WindowsApiService.cs
+++ b/GlazeWM.Infrastructure/WindowsApi/WindowsApiService.cs
@@ -1,10 +1,10 @@
-using LarsWM.Infrastructure.WindowsApi.Enums;
+using GlazeWM.Infrastructure.WindowsApi.Enums;
using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
-namespace LarsWM.Infrastructure.WindowsApi
+namespace GlazeWM.Infrastructure.WindowsApi
{
public class WindowsApiService
{
diff --git a/LarsWM.sln b/GlazeWM.sln
similarity index 76%
rename from LarsWM.sln
rename to GlazeWM.sln
index 45758848..47b5028e 100644
--- a/LarsWM.sln
+++ b/GlazeWM.sln
@@ -1,48 +1,48 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.29613.14
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LarsWM.Domain", "LarsWM.Domain\LarsWM.Domain.csproj", "{D7741551-9A1D-4357-9571-991C6FDB1906}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LarsWM.Bar", "LarsWM.Bar\LarsWM.Bar.csproj", "{F038C06D-2085-40EA-AEE9-A517231656FC}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LarsWM.Infrastructure", "LarsWM.Infrastructure\LarsWM.Infrastructure.csproj", "{9FA1F058-7ED2-4BC3-B3BC-C8C43B3C62C5}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LarsWM.Bootstrapper", "LarsWM.Bootstrapper\LarsWM.Bootstrapper.csproj", "{86A11BD4-B17A-4422-9D3A-D2516A730BFE}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{877CCE5C-94A9-4CE4-8A29-164179ADE9D3}"
- ProjectSection(SolutionItems) = preProject
- .editorconfig = .editorconfig
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D7741551-9A1D-4357-9571-991C6FDB1906}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D7741551-9A1D-4357-9571-991C6FDB1906}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D7741551-9A1D-4357-9571-991C6FDB1906}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D7741551-9A1D-4357-9571-991C6FDB1906}.Release|Any CPU.Build.0 = Release|Any CPU
- {F038C06D-2085-40EA-AEE9-A517231656FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F038C06D-2085-40EA-AEE9-A517231656FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F038C06D-2085-40EA-AEE9-A517231656FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F038C06D-2085-40EA-AEE9-A517231656FC}.Release|Any CPU.Build.0 = Release|Any CPU
- {9FA1F058-7ED2-4BC3-B3BC-C8C43B3C62C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9FA1F058-7ED2-4BC3-B3BC-C8C43B3C62C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9FA1F058-7ED2-4BC3-B3BC-C8C43B3C62C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9FA1F058-7ED2-4BC3-B3BC-C8C43B3C62C5}.Release|Any CPU.Build.0 = Release|Any CPU
- {86A11BD4-B17A-4422-9D3A-D2516A730BFE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {86A11BD4-B17A-4422-9D3A-D2516A730BFE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {86A11BD4-B17A-4422-9D3A-D2516A730BFE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {86A11BD4-B17A-4422-9D3A-D2516A730BFE}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {90AFACCD-B199-4A1E-B14E-5DA783E09D17}
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29613.14
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GlazeWM.Domain", "GlazeWM.Domain\GlazeWM.Domain.csproj", "{D7741551-9A1D-4357-9571-991C6FDB1906}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GlazeWM.Bar", "GlazeWM.Bar\GlazeWM.Bar.csproj", "{F038C06D-2085-40EA-AEE9-A517231656FC}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GlazeWM.Infrastructure", "GlazeWM.Infrastructure\GlazeWM.Infrastructure.csproj", "{9FA1F058-7ED2-4BC3-B3BC-C8C43B3C62C5}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GlazeWM.Bootstrapper", "GlazeWM.Bootstrapper\GlazeWM.Bootstrapper.csproj", "{86A11BD4-B17A-4422-9D3A-D2516A730BFE}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{877CCE5C-94A9-4CE4-8A29-164179ADE9D3}"
+ ProjectSection(SolutionItems) = preProject
+ .editorconfig = .editorconfig
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D7741551-9A1D-4357-9571-991C6FDB1906}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D7741551-9A1D-4357-9571-991C6FDB1906}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D7741551-9A1D-4357-9571-991C6FDB1906}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D7741551-9A1D-4357-9571-991C6FDB1906}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F038C06D-2085-40EA-AEE9-A517231656FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F038C06D-2085-40EA-AEE9-A517231656FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F038C06D-2085-40EA-AEE9-A517231656FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F038C06D-2085-40EA-AEE9-A517231656FC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9FA1F058-7ED2-4BC3-B3BC-C8C43B3C62C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9FA1F058-7ED2-4BC3-B3BC-C8C43B3C62C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9FA1F058-7ED2-4BC3-B3BC-C8C43B3C62C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9FA1F058-7ED2-4BC3-B3BC-C8C43B3C62C5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {86A11BD4-B17A-4422-9D3A-D2516A730BFE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {86A11BD4-B17A-4422-9D3A-D2516A730BFE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {86A11BD4-B17A-4422-9D3A-D2516A730BFE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {86A11BD4-B17A-4422-9D3A-D2516A730BFE}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {90AFACCD-B199-4A1E-B14E-5DA783E09D17}
+ EndGlobalSection
+EndGlobal
diff --git a/LarsWM.Domain/Monitors/Events/NewMonitorDetectedEvent.cs b/LarsWM.Domain/Monitors/Events/NewMonitorDetectedEvent.cs
deleted file mode 100644
index d0af31ee..00000000
--- a/LarsWM.Domain/Monitors/Events/NewMonitorDetectedEvent.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using LarsWM.Infrastructure.Bussing;
-
-namespace LarsWM.Domain.Monitors.Events
-{
- class NewMonitorDetectedEvent : Event
- {
- }
-}
diff --git a/LarsWM.Domain/UserConfigs/Commands/EvaluateUserConfigCommand.cs b/LarsWM.Domain/UserConfigs/Commands/EvaluateUserConfigCommand.cs
deleted file mode 100644
index 5e35624b..00000000
--- a/LarsWM.Domain/UserConfigs/Commands/EvaluateUserConfigCommand.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using LarsWM.Infrastructure.Bussing;
-
-namespace LarsWM.Domain.UserConfigs.Commands
-{
- public class EvaluateUserConfigCommand : Command
- {
- }
-}
diff --git a/LarsWM.Domain/Windows/Commands/CloseFocusedWindowCommand.cs b/LarsWM.Domain/Windows/Commands/CloseFocusedWindowCommand.cs
deleted file mode 100644
index a7473854..00000000
--- a/LarsWM.Domain/Windows/Commands/CloseFocusedWindowCommand.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using LarsWM.Infrastructure.Bussing;
-
-namespace LarsWM.Domain.Windows.Commands
-{
- public class CloseFocusedWindowCommand : Command
- {
- }
-}