|
root / base / hammerhead-desktop / autostart
autostart Plain Text 12 lines 627 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#!/bin/sh
# Hammerhead Openbox autostart - Zygaena marine-dark identity.
# Idempotent: only launch a daemon if it isn't already running, so
# `openbox --restart` doesn't spawn duplicate panels.
running() { ps -ef | grep -v grep | grep -q "$1"; }
running "[p]icom" || picom --backend xrender -b 2>/dev/null &
# tint2 finds its config live via XDG_CONFIG_DIRS; conky does NOT honor
# XDG_CONFIG_DIRS, so give it the system config path explicitly (stays live).
running "[t]int2" || tint2 &
running "[c]onky" || conky -c @@PREFIX@@/etc/xdg/conky/conky.conf &
feh --bg-fill @@PREFIX@@/share/backgrounds/hammerhead.png 2>/dev/null &