add global default getter

This commit is contained in:
Aylur
2024-06-25 22:36:02 +02:00
parent c20896d681
commit ec8e1c3558
+4
View File
@@ -1,4 +1,8 @@
namespace AstalHyprland {
public Hyprland get_default() {
return Hyprland.get_default();
}
public class Hyprland : Object {
private static string HIS = GLib.Environment.get_variable("HYPRLAND_INSTANCE_SIGNATURE");
private static string RUN_DIR = GLib.Environment.get_user_runtime_dir();