summaryrefslogtreecommitdiffstats
path: root/.local/bin/dtinit
blob: dd3d24976bf02e957abb7b63d7f531a8abff47cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

startif() {
	pgrep "$1" >/dev/null || "$@" >/dev/null 2>&1 &
}

pgrep musicpd >/dev/null || musicpd >/dev/null 2>&1
# "$HOME"/.local/bin/setwp
"$HOME"/.local/bin/kb
xset s off
xset -dpms
startif dunst
startif picom
startif lowbat
startif mpd-notification
startif xscreensaver --no-splash
# ekb
cd "$HOME"
xrdb "$HOME"/.config/x11/xresources
notify-send -u normal 'Welcome' "  Welcome back, partner\!"
# dbus-launch dwm