aboutsummaryrefslogtreecommitdiff
path: root/start.sh
blob: db88d912500a03a0fcc26b560713f3836f09eaf6 (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
#!/bin/sh
# This a sort-of auto-start script.
# Run this from a tty to start my graphical env.

# don't need it anymore?
#echo $(id -u)
#export XDG_RUNTIME_DIR=/tmp/xdg-runtime-$(id -u)
#mkdir -p $XDG_RUNTIME_DIR
#echo $XDG_RUNTIME_DIR

export EDITOR=nvim

exec dwl -s 'somebar' &
#exec sway &

# set blocks on bar
exec /usr/local/bin/someblocks &

# give wayland session some time to init
sleep 1

# set bg
exec ./bg.sh &