summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/s6-rc/default/contents.d/mpd0
-rw-r--r--.config/s6-rc/default/contents.d/wall0
-rw-r--r--.config/s6-rc/mpd-log/consumer-for1
-rw-r--r--.config/s6-rc/mpd-log/notification-fd1
-rw-r--r--.config/s6-rc/mpd-log/pipeline-name1
-rwxr-xr-x.config/s6-rc/mpd-log/run3
-rw-r--r--.config/s6-rc/mpd-log/type1
-rw-r--r--.config/s6-rc/mpd/dependencies.d/pipewire0
-rwxr-xr-x.config/s6-rc/mpd/finish3
-rw-r--r--.config/s6-rc/mpd/producer-for1
-rwxr-xr-x.config/s6-rc/mpd/run2
-rw-r--r--.config/s6-rc/mpd/type1
-rw-r--r--.config/s6-rc/statusbar/down2
-rw-r--r--.config/s6-rc/statusbar/up8
-rw-r--r--.config/s6-rc/wall/dependencies.d/eww0
-rw-r--r--.config/s6-rc/wall/down1
-rw-r--r--.config/s6-rc/wall/type1
-rw-r--r--.config/s6-rc/wall/up6
18 files changed, 30 insertions, 2 deletions
diff --git a/.config/s6-rc/default/contents.d/mpd b/.config/s6-rc/default/contents.d/mpd
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.config/s6-rc/default/contents.d/mpd
diff --git a/.config/s6-rc/default/contents.d/wall b/.config/s6-rc/default/contents.d/wall
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.config/s6-rc/default/contents.d/wall
diff --git a/.config/s6-rc/mpd-log/consumer-for b/.config/s6-rc/mpd-log/consumer-for
new file mode 100644
index 0000000..27fe5db
--- /dev/null
+++ b/.config/s6-rc/mpd-log/consumer-for
@@ -0,0 +1 @@
+mpd
diff --git a/.config/s6-rc/mpd-log/notification-fd b/.config/s6-rc/mpd-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/.config/s6-rc/mpd-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/.config/s6-rc/mpd-log/pipeline-name b/.config/s6-rc/mpd-log/pipeline-name
new file mode 100644
index 0000000..1c60903
--- /dev/null
+++ b/.config/s6-rc/mpd-log/pipeline-name
@@ -0,0 +1 @@
+mpd-pipeline
diff --git a/.config/s6-rc/mpd-log/run b/.config/s6-rc/mpd-log/run
new file mode 100755
index 0000000..c6b4935
--- /dev/null
+++ b/.config/s6-rc/mpd-log/run
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+exec -c
+s6-log -d3 -- T /home/samn/.local/state/s6/logs/mpd
diff --git a/.config/s6-rc/mpd-log/type b/.config/s6-rc/mpd-log/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/.config/s6-rc/mpd-log/type
@@ -0,0 +1 @@
+longrun
diff --git a/.config/s6-rc/mpd/dependencies.d/pipewire b/.config/s6-rc/mpd/dependencies.d/pipewire
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.config/s6-rc/mpd/dependencies.d/pipewire
diff --git a/.config/s6-rc/mpd/finish b/.config/s6-rc/mpd/finish
new file mode 100755
index 0000000..b22f9dc
--- /dev/null
+++ b/.config/s6-rc/mpd/finish
@@ -0,0 +1,3 @@
+#!/command/execlineb -P
+s6-permafailon 60 10 1-255
+exit
diff --git a/.config/s6-rc/mpd/producer-for b/.config/s6-rc/mpd/producer-for
new file mode 100644
index 0000000..a7aaae5
--- /dev/null
+++ b/.config/s6-rc/mpd/producer-for
@@ -0,0 +1 @@
+mpd-log
diff --git a/.config/s6-rc/mpd/run b/.config/s6-rc/mpd/run
new file mode 100755
index 0000000..05142b7
--- /dev/null
+++ b/.config/s6-rc/mpd/run
@@ -0,0 +1,2 @@
+#!/bin/execlineb -P
+mpd --no-daemon --stderr
diff --git a/.config/s6-rc/mpd/type b/.config/s6-rc/mpd/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/.config/s6-rc/mpd/type
@@ -0,0 +1 @@
+longrun
diff --git a/.config/s6-rc/statusbar/down b/.config/s6-rc/statusbar/down
index 9a7897f..dad3da1 100644
--- a/.config/s6-rc/statusbar/down
+++ b/.config/s6-rc/statusbar/down
@@ -1 +1 @@
-eww close bar \ No newline at end of file
+foreground { eww close bar1 bar2 } true \ No newline at end of file
diff --git a/.config/s6-rc/statusbar/up b/.config/s6-rc/statusbar/up
index 11ceecc..a68fffb 100644
--- a/.config/s6-rc/statusbar/up
+++ b/.config/s6-rc/statusbar/up
@@ -1 +1,7 @@
-eww open bar \ No newline at end of file
+foreground {
+ eww open-many
+ bar:bar1 bar:bar2
+ --arg bar1:screen=0 --arg bar2:screen=1
+ --arg bar1:output=eDP-1 --arg bar2:output=HDMI-A-1
+}
+true
diff --git a/.config/s6-rc/wall/dependencies.d/eww b/.config/s6-rc/wall/dependencies.d/eww
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.config/s6-rc/wall/dependencies.d/eww
diff --git a/.config/s6-rc/wall/down b/.config/s6-rc/wall/down
new file mode 100644
index 0000000..b1b1cb7
--- /dev/null
+++ b/.config/s6-rc/wall/down
@@ -0,0 +1 @@
+foreground { eww close wall1 wall2 } true \ No newline at end of file
diff --git a/.config/s6-rc/wall/type b/.config/s6-rc/wall/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/.config/s6-rc/wall/type
@@ -0,0 +1 @@
+oneshot
diff --git a/.config/s6-rc/wall/up b/.config/s6-rc/wall/up
new file mode 100644
index 0000000..f6c9906
--- /dev/null
+++ b/.config/s6-rc/wall/up
@@ -0,0 +1,6 @@
+foreground {
+ eww open-many
+ wall:wall1 wall:wall2
+ --arg wall1:screen=0 --arg wall2:screen=1
+}
+true