summary refs log tree commit diff
path: root/.config/rc/init.d/xdg-desktop-portal-darkman
diff options
context:
space:
mode:
Diffstat (limited to '.config/rc/init.d/xdg-desktop-portal-darkman')
-rwxr-xr-x.config/rc/init.d/xdg-desktop-portal-darkman13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/rc/init.d/xdg-desktop-portal-darkman b/.config/rc/init.d/xdg-desktop-portal-darkman
new file mode 100755
index 0000000..8067c95
--- /dev/null
+++ b/.config/rc/init.d/xdg-desktop-portal-darkman
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+name="darkman"
+description="Control dark mode and light mode transitions"
+
+supervisor=supervise-daemon
+command="/usr/bin/darkman"
+command_args="run"
+error_logger="logger -t '${RC_SVCNAME}' -p daemon.error"
+
+depend() {
+	need dbus
+}