xinitrc: really support sh
This commit is contained in:
parent
0fb2614d92
commit
920906f065
4
xinitrc
4
xinitrc
|
@ -6,12 +6,12 @@
|
||||||
# Executed by startx (run your window manager from here)
|
# Executed by startx (run your window manager from here)
|
||||||
#
|
#
|
||||||
|
|
||||||
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
|
[ -f ~/.Xresources ] && xrdb -merge -I$HOME ~/.Xresources
|
||||||
|
|
||||||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||||
|
|
||||||
found=0
|
found=0
|
||||||
function tryDM {
|
tryDM() {
|
||||||
if [ $found -eq 0 ]; then
|
if [ $found -eq 0 ]; then
|
||||||
parameters=''
|
parameters=''
|
||||||
case $1 in
|
case $1 in
|
||||||
|
|
Loading…
Reference in a new issue