summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-06-25 22:36:02 +0200
committerAylur <[email protected]>2024-06-25 22:36:02 +0200
commitec8e1c35581ef2ec32efae8262feb25f41536fc7 (patch)
tree78582e06e76485874988106272938cad1cdf86dd
parentc20896d681bb10db7292c84d9e5754ac95877dd5 (diff)
add global default getter
-rw-r--r--src/hyprland.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hyprland.vala b/src/hyprland.vala
index d59f50b..5359d2e 100644
--- a/src/hyprland.vala
+++ b/src/hyprland.vala
@@ -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();