mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
29 lines
514 B
Bash
Executable File
29 lines
514 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# ~/.xinitrc
|
|
#
|
|
# Executed by startx (run your window manager from here)
|
|
|
|
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
|
for f in /etc/X11/xinit/xinitrc.d/*; do
|
|
[ -x "$f" ] && . "$f"
|
|
done
|
|
unset f
|
|
fi
|
|
|
|
eval $(gpg-agent -s --enable-ssh-support --daemon --write-env-file $HOME/.gpg-agent-info)
|
|
|
|
xrdb $HOME/.Xresources
|
|
|
|
case $1 in
|
|
xterm)
|
|
exec xterm
|
|
;;
|
|
herbstluftwm) # default is herbstluftwm
|
|
exec herbstluftwm --locked
|
|
;;
|
|
*)
|
|
exec $1
|
|
;;
|
|
esac
|