summary refs log tree commit diff
path: root/.config/rc
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-09-27 17:38:39 +0200
committerRobert Günzler <r@gnzler.io>2026-09-27 17:38:39 +0200
commit0860db73ae6fd9a6f6347219d820bf026a6b8b91 (patch)
tree11318c3670d1c32c5aa0bf404c22fba3bf63fc53 /.config/rc
parent4e34cbf9673aeaba252e01df554a0d204e83c5e2 (diff)
downloaddotfiles-0860db73ae6fd9a6f6347219d820bf026a6b8b91.tar.gz
Automated-commit-by: dots
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/rc')
-rw-r--r--.config/rc/conf.d/podman1
-rwxr-xr-x.config/rc/init.d/secretsd18
-rwxr-xr-x.config/rc/init.d/syncthing7
-rwxr-xr-x.config/rc/init.d/xdg-desktop-portal13
l---------.config/rc/runlevels/desktop/fcitx51
l---------.config/rc/runlevels/desktop/secretsd1
6 files changed, 34 insertions, 7 deletions
diff --git a/.config/rc/conf.d/podman b/.config/rc/conf.d/podman
new file mode 100644
index 0000000..e78ef15
--- /dev/null
+++ b/.config/rc/conf.d/podman
@@ -0,0 +1 @@
+export DOCKER_BUILDKIT=1
diff --git a/.config/rc/init.d/secretsd b/.config/rc/init.d/secretsd
new file mode 100755
index 0000000..8c639a9
--- /dev/null
+++ b/.config/rc/init.d/secretsd
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
+SECRETSD_HOME=${XDG_DATA_HOME}/secretsd
+
+description="Lightweight Wayland notification daemon"
+
+command="/usr/bin/secretsd"
+command_args="--no-syslog --db-path=${SECRETSD_HOME}/db --key-location=file:${SECRETSD_HOME}/key"
+supervisor=supervise-daemon
+error_logger="logger -t '${RC_SVCNAME}' -p daemon.error"
+
+depend() {
+	need dbus
+}
+
+start_pre() {
+	checkpath -q -d ${SECRETSD_HOME}
+}
diff --git a/.config/rc/init.d/syncthing b/.config/rc/init.d/syncthing
index 083b092..8a790f8 100755
--- a/.config/rc/init.d/syncthing
+++ b/.config/rc/init.d/syncthing
@@ -12,3 +12,10 @@ browser() {
 	syncthing browser
 	eend $? "Opened syncthing gui in the browser"
 }
+
+start_post() {
+	pkill -RTMIN+3 waybar
+}
+stop_post() {
+	pkill -RTMIN+3 waybar
+}
diff --git a/.config/rc/init.d/xdg-desktop-portal b/.config/rc/init.d/xdg-desktop-portal
index aeacb00..1852935 100755
--- a/.config/rc/init.d/xdg-desktop-portal
+++ b/.config/rc/init.d/xdg-desktop-portal
@@ -1,10 +1,6 @@
 #!/sbin/openrc-run
-DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
-
-supervisor=supervise-daemon
-command="/usr/libexec/xdg-desktop-portal"
-command_args="--replace $command_args"
-error_logger="logger -t '${RC_SVCNAME}' -p daemon.error"
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License, v2 or later
 
 depend() {
 	need dbus \
@@ -12,3 +8,8 @@ depend() {
 		xdg-desktop-portal-wlr \
 		xdg-desktop-portal-darkman
 }
+
+DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
+supervisor=supervise-daemon
+command="/usr/libexec/xdg-desktop-portal"
+error_logger="logger -t '${RC_SVCNAME}' -p daemon.error"
diff --git a/.config/rc/runlevels/desktop/fcitx5 b/.config/rc/runlevels/desktop/fcitx5
deleted file mode 120000
index a7b382d..0000000
--- a/.config/rc/runlevels/desktop/fcitx5
+++ /dev/null
@@ -1 +0,0 @@
-/home/robert/.config/rc/init.d/fcitx5
\ No newline at end of file
diff --git a/.config/rc/runlevels/desktop/secretsd b/.config/rc/runlevels/desktop/secretsd
new file mode 120000
index 0000000..bafe0c8
--- /dev/null
+++ b/.config/rc/runlevels/desktop/secretsd
@@ -0,0 +1 @@
+/home/robert/.config/rc/init.d/secretsd
\ No newline at end of file