From c40794b2040330ec2625bedf7df961115680c08b Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Thu, 15 Jan 2026 22:34:35 -0500 Subject: update bin --- bin/wminit | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 bin/wminit (limited to 'bin/wminit') diff --git a/bin/wminit b/bin/wminit new file mode 100755 index 0000000..8d7d313 --- /dev/null +++ b/bin/wminit @@ -0,0 +1,13 @@ +#!/command/execlineb -P +importas -i XDG_RUNTIME_DIR XDG_RUNTIME_DIR +if { forx var { WAYLAND_DISPLAY DISPLAY HYPRLAND_INSTANCE_SIGNATURE } + importas -i value ${var} + redirfd -w 1 ${XDG_RUNTIME_DIR}/wl_env/${var} printf "%s\n" ${value} +} +if { dbus-update-activation-environment + WAYLAND_DISPLAY + DISPLAY + HYPRLAND_INSTANCE_SIGNATURE + XDG_CURRENT_DESKTOP +} +redirfd -w 1 ${XDG_RUNTIME_DIR}/service/hyprland/data/ready printf "\n" -- cgit v1.2.3