summaryrefslogtreecommitdiff
path: root/home-manager/sxrc
blob: 43e8a82258d600f76a6537f9c91182f048c75671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# Start D-Bus if it isn't already started.
# https://nurdletech.com/linux-notes/agents/keyring.html#dbus.
if [[ -z "$DBUS_SESSION_BUS_ADDRESS" ]]; then
    eval "$(/run/current-system/sw/bin/dbus-launch --sh-syntax --exit-with-session)"
    export DBUS_SESSION_BUS_ADDRESS
fi

systemctl --user import-environment DISPLAY XAUTHORITY

wp-rand

picom &

xrdb -merge -I$HOME "$HOME/.config/Xresources" &

dwmblocks &

exec dbus-launch dwm 2>> $HOME/.cache/dwm.log

# ssh-agent / exec dbus-launch
Software created with 💖