summaryrefslogtreecommitdiff
path: root/home-manager/sxrc
blob: 8128afbd6e86e5513b3c82098cf427db8f0c0bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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" &
xautolock -lockaftersleep -time 10 -locker slock &

dwmblocks &

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

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