2020-07-09 12:56:22 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# xinitrc runs automatically when you run startx.
|
|
|
|
|
|
|
|
# There are some small but important commands that need to be run when we start
|
|
|
|
# the graphical environment. I keep those commands in ~/config/xprofile because
|
|
|
|
# that file is run automatically if someone uses a display manager (login
|
|
|
|
# screen) and so they are needed there. To prevent doubling up commands, I
|
|
|
|
# source them here with the line below.
|
|
|
|
|
|
|
|
# export STATUSBAR="i3blocks" # Uncomment this line when using i3.
|
|
|
|
|
|
|
|
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" 2>&1 /dev/null
|
|
|
|
|
|
|
|
# Your default LARBS WM is determined in your `~/.profile` on login. Here we
|
|
|
|
# run the proper command to run when the graphical environment starts.
|
|
|
|
|
|
|
|
# Comment/uncomment these lines depending on what wm you want to use. Also
|
|
|
|
# check the i3blocks line above.
|
2020-09-01 14:22:26 +02:00
|
|
|
rm -f /tmp/killdwm
|
|
|
|
while ! [ -f /tmp/killdwm ]; do
|
2020-07-09 12:56:22 +02:00
|
|
|
dwm
|
|
|
|
done
|
|
|
|
#ssh-agent dwm
|
|
|
|
# ssh-agent i3
|