From 8ffad252bd303e3ba8b6baa986da1829ce62b6d5 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Sun, 26 Oct 2025 21:23:30 +0000 Subject: Add waybar user service --- init.d/waybar | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 init.d/waybar diff --git a/init.d/waybar b/init.d/waybar new file mode 100755 index 0000000..cf3c192 --- /dev/null +++ b/init.d/waybar @@ -0,0 +1,12 @@ +#!/sbin/openrc-run + +description="Highly customizable Waybar bar for Sway and Wlroots base compositors" +command="waybar" +command_args="" + +supervisor=supervise-daemon +error_logger="logger -t '${RC_SVCNAME}' -p daemon.error" + +#export SWAYSOCK="$(sway --get-socketpath)" +export SWAYSOCK="$(ls $XDG_RUNTIME_DIR/sway-ipc.* | head -n 1)" + -- cgit