From d411555d0144a18015886ae352885b4ac36597bd Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Thu, 15 Jan 2026 22:31:56 -0500 Subject: update s6 --- .config/s6-rc/hyprland/dependencies.d/dbus | 0 .config/s6-rc/hyprland/finish | 5 +++++ .config/s6-rc/hyprland/notification-fd | 1 + .config/s6-rc/hyprland/producer-for | 1 + .config/s6-rc/hyprland/run | 28 ++++++++++++++++++++++++++++ .config/s6-rc/hyprland/type | 1 + 6 files changed, 36 insertions(+) create mode 100644 .config/s6-rc/hyprland/dependencies.d/dbus create mode 100755 .config/s6-rc/hyprland/finish create mode 100644 .config/s6-rc/hyprland/notification-fd create mode 100644 .config/s6-rc/hyprland/producer-for create mode 100755 .config/s6-rc/hyprland/run create mode 100644 .config/s6-rc/hyprland/type (limited to '.config/s6-rc/hyprland') diff --git a/.config/s6-rc/hyprland/dependencies.d/dbus b/.config/s6-rc/hyprland/dependencies.d/dbus new file mode 100644 index 0000000..e69de29 diff --git a/.config/s6-rc/hyprland/finish b/.config/s6-rc/hyprland/finish new file mode 100755 index 0000000..4c78186 --- /dev/null +++ b/.config/s6-rc/hyprland/finish @@ -0,0 +1,5 @@ +#!/bin/execlineb -S2 +importas -i XDG_RUNTIME_DIR XDG_RUNTIME_DIR +foreground { s6-rc -l ${XDG_RUNTIME_DIR}/s6-rc -bDa change } +s6-svscanctl -t ${XDG_RUNTIME_DIR}/service +exit 125 diff --git a/.config/s6-rc/hyprland/notification-fd b/.config/s6-rc/hyprland/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/.config/s6-rc/hyprland/notification-fd @@ -0,0 +1 @@ +3 diff --git a/.config/s6-rc/hyprland/producer-for b/.config/s6-rc/hyprland/producer-for new file mode 100644 index 0000000..17583b6 --- /dev/null +++ b/.config/s6-rc/hyprland/producer-for @@ -0,0 +1 @@ +hyprland-log diff --git a/.config/s6-rc/hyprland/run b/.config/s6-rc/hyprland/run new file mode 100755 index 0000000..48737b3 --- /dev/null +++ b/.config/s6-rc/hyprland/run @@ -0,0 +1,28 @@ +#!/bin/execlineb -P +fdmove -c 2 1 +multisubstitute { + importas -i XDG_RUNTIME_DIR XDG_RUNTIME_DIR + importas -i HOME HOME +} +if { mkdir -p ${XDG_RUNTIME_DIR}/wl_env } +if { + forx -E var { + XDG_SESSION_TYPE=wayland + XDG_SESSION_DESKTOP=Hyprland + XDG_CURRENT_DESKTOP=Hyprland + MOZ_ENABLE_WAYLAND=1 + QT_QPA_PLATFORM=wayland + SDL_VIDEODRIVER=wayland + _JAVA_AWT_WM_NONREPARENTING=1 + } + multidefine -d= ${var} { key val } + redirfd -w 1 ${XDG_RUNTIME_DIR}/wl_env/${key} + heredoc 0 ${val} cat +} +s6-envdir ${XDG_RUNTIME_DIR}/wl_env +if { mkdir -p ./data } +if { rm -f ./data/ready } +if { mkfifo ./data/ready } +background { redirfd -r 0 ./data/ready fdmove 1 3 cat } +cd ${HOME} +Hyprland diff --git a/.config/s6-rc/hyprland/type b/.config/s6-rc/hyprland/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/.config/s6-rc/hyprland/type @@ -0,0 +1 @@ +longrun -- cgit v1.2.3