summaryrefslogtreecommitdiff
path: root/config/.xinitrc
blob: dc67ade727c69f70cf6fa640eb8a90cf7d7eac37 (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

# Wait until the root window reports "Free" (as in the project README)
while ! xprop -root | grep -q Free; do sleep 1; done

# Merge the no-wm resource settings
xrdb -merge "${HOME}/etc/Xresources"

# set wallpaper
xsetroot -bitmap ~/Downloads/bitmap-walls-master/bitmap-walls-master/patterns/grey_32_11.xbm &

# Start a terminal
st -g 195x54+0+0 & 
# start the keybindings
sxhkd -c "${HOME}/etc/sxhkdrc" &
# start the focus manager
x-focus-manager &

# mount external devices automatically
udiskie &

# Hand the session over to the window manager logic
exec x-session