summaryrefslogtreecommitdiff
path: root/home-manager/sxrc
blob: b7ae3fafd36f83bfed7e3e5caf8d55840a7f5a67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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 &

#birdtray &
pulseaudio --start &

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

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