Skip to content

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

fix: correct references to embedded font family resource (#379)

blam49ad62aec740
diff --git a/GlazeWM.Domain/UserConfigs/NetworkComponentConfig.cs b/GlazeWM.Domain/UserConfigs/NetworkComponentConfig.cs
index 946cd608..e25014ce 100644
--- a/GlazeWM.Domain/UserConfigs/NetworkComponentConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/NetworkComponentConfig.cs
@@ -33,7 +33,7 @@ namespace GlazeWM.Domain.UserConfigs
public NetworkComponentConfig()
{
- FontFamily = "pack://application:,,,/Resources/#Material Icons";
+ FontFamily = "GlazeWM.App.Resources#Material Icons";
}
}
}
diff --git a/GlazeWM.Domain/UserConfigs/SystemTrayComponentConfig.cs b/GlazeWM.Domain/UserConfigs/SystemTrayComponentConfig.cs
index 5f39df9a..2dd1ab30 100644
--- a/GlazeWM.Domain/UserConfigs/SystemTrayComponentConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/SystemTrayComponentConfig.cs
@@ -17,7 +17,7 @@ namespace GlazeWM.Domain.UserConfigs
/// </summary>
public SystemTrayComponentConfig()
{
- FontFamily = "pack://application:,,,/Resources/#Material Icons";
+ FontFamily = "GlazeWM.App.Resources#Material Icons";
}
}
}
diff --git a/GlazeWM.Domain/UserConfigs/VolumeComponentConfig.cs b/GlazeWM.Domain/UserConfigs/VolumeComponentConfig.cs
index 744df85c..8cb40384 100644
--- a/GlazeWM.Domain/UserConfigs/VolumeComponentConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/VolumeComponentConfig.cs
@@ -9,19 +9,19 @@ namespace GlazeWM.Domain.UserConfigs
/// <summary>
/// Label for low volume.
/// </summary>
- public string LabelLow { get; set; } = "<attr ff='pack://application:,,,/Resources/#Material Icons'></attr>{volume_level}%";
+ public string LabelLow { get; set; } = "<attr ff='GlazeWM.App.Resources#Material Icons'></attr>{volume_level}%";
/// <summary>
/// Label for medium volume.
/// </summary>
- public string LabelMedium { get; set; } = "<attr ff='pack://application:,,,/Resources/#Material Icons'></attr>{volume_level}%";
+ public string LabelMedium { get; set; } = "<attr ff='GlazeWM.App.Resources#Material Icons'></attr>{volume_level}%";
/// <summary>
/// Label for high volume.
/// </summary>
- public string LabelHigh { get; set; } = "<attr ff='pack://application:,,,/Resources/#Material Icons'></attr>{volume_level}%";
+ public string LabelHigh { get; set; } = "<attr ff='GlazeWM.App.Resources#Material Icons'></attr>{volume_level}%";
/// <summary>
/// Label for volume mute.
/// </summary>
- public string LabelMute { get; set; } = "<attr ff='pack://application:,,,/Resources/#Material Icons'></attr>{volume_level}%";
+ public string LabelMute { get; set; } = "<attr ff='GlazeWM.App.Resources#Material Icons'></attr>{volume_level}%";
}
}