diff options
| author | Blake Romero <blake@developercraft.com> | 2025-10-26 21:23:30 +0000 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2025-10-26 21:23:30 +0000 |
| commit | 8ffad252bd303e3ba8b6baa986da1829ce62b6d5 (patch) | |
| tree | e4e118e2429da487b4eb774054aa8c1e19004918 /init.d | |
| parent | a17ddc0696c0cc5118cd245e89792905d9d493d3 (diff) | |
Add waybar user service
Diffstat (limited to 'init.d')
| -rwxr-xr-x | init.d/waybar | 12 |
1 files changed, 12 insertions, 0 deletions
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)" + |
