summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/s6-rc/hyprland-log/consumer-for1
-rw-r--r--.config/s6-rc/hyprland-log/notification-fd1
-rw-r--r--.config/s6-rc/hyprland-log/pipeline-name1
-rwxr-xr-x.config/s6-rc/hyprland-log/run4
-rw-r--r--.config/s6-rc/hyprland-log/type1
-rw-r--r--.config/s6-rc/hyprland/dependencies.d/dbus (renamed from .config/s6-rc/default/contents.d/statusbar)0
-rwxr-xr-x.config/s6-rc/hyprland/finish5
-rw-r--r--.config/s6-rc/hyprland/notification-fd1
-rw-r--r--.config/s6-rc/hyprland/producer-for1
-rwxr-xr-x.config/s6-rc/hyprland/run28
-rw-r--r--.config/s6-rc/hyprland/type1
-rwxr-xr-x[-rw-r--r--].config/s6-rc/pipewire-pulse/run0
-rw-r--r--.config/s6-rc/wayland/contents.d/hyprland (renamed from .config/s6-rc/default/contents.d/wall)0
-rw-r--r--.config/s6-rc/wayland/contents.d/river0
-rw-r--r--.config/s6-rc/wayland/contents.d/rivertile0
15 files changed, 44 insertions, 0 deletions
diff --git a/.config/s6-rc/hyprland-log/consumer-for b/.config/s6-rc/hyprland-log/consumer-for
new file mode 100644
index 0000000..1d7ece5
--- /dev/null
+++ b/.config/s6-rc/hyprland-log/consumer-for
@@ -0,0 +1 @@
+hyprland
diff --git a/.config/s6-rc/hyprland-log/notification-fd b/.config/s6-rc/hyprland-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/.config/s6-rc/hyprland-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/.config/s6-rc/hyprland-log/pipeline-name b/.config/s6-rc/hyprland-log/pipeline-name
new file mode 100644
index 0000000..50cf7f2
--- /dev/null
+++ b/.config/s6-rc/hyprland-log/pipeline-name
@@ -0,0 +1 @@
+hyprland-pipeline
diff --git a/.config/s6-rc/hyprland-log/run b/.config/s6-rc/hyprland-log/run
new file mode 100755
index 0000000..46552ef
--- /dev/null
+++ b/.config/s6-rc/hyprland-log/run
@@ -0,0 +1,4 @@
+#!/bin/execlineb -P
+importas -i HOME HOME
+exec -c
+s6-log -d3 -- t ${HOME}/.local/state/s6/logs/hyprland
diff --git a/.config/s6-rc/hyprland-log/type b/.config/s6-rc/hyprland-log/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/.config/s6-rc/hyprland-log/type
@@ -0,0 +1 @@
+longrun
diff --git a/.config/s6-rc/default/contents.d/statusbar b/.config/s6-rc/hyprland/dependencies.d/dbus
index e69de29..e69de29 100644
--- a/.config/s6-rc/default/contents.d/statusbar
+++ b/.config/s6-rc/hyprland/dependencies.d/dbus
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
diff --git a/.config/s6-rc/pipewire-pulse/run b/.config/s6-rc/pipewire-pulse/run
index 30cb174..30cb174 100644..100755
--- a/.config/s6-rc/pipewire-pulse/run
+++ b/.config/s6-rc/pipewire-pulse/run
diff --git a/.config/s6-rc/default/contents.d/wall b/.config/s6-rc/wayland/contents.d/hyprland
index e69de29..e69de29 100644
--- a/.config/s6-rc/default/contents.d/wall
+++ b/.config/s6-rc/wayland/contents.d/hyprland
diff --git a/.config/s6-rc/wayland/contents.d/river b/.config/s6-rc/wayland/contents.d/river
deleted file mode 100644
index e69de29..0000000
--- a/.config/s6-rc/wayland/contents.d/river
+++ /dev/null
diff --git a/.config/s6-rc/wayland/contents.d/rivertile b/.config/s6-rc/wayland/contents.d/rivertile
deleted file mode 100644
index e69de29..0000000
--- a/.config/s6-rc/wayland/contents.d/rivertile
+++ /dev/null