diff options
| -rw-r--r-- | dotfiles/system/.profile | 5 | ||||
| -rwxr-xr-x | dotfiles/system/.xinitrc | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/dotfiles/system/.profile b/dotfiles/system/.profile index 0a67605..088c2b4 100644 --- a/dotfiles/system/.profile +++ b/dotfiles/system/.profile @@ -108,3 +108,8 @@ if [ -d "$PROFILE_D" ]; then source "$file" done fi + +# launch x automatically +if [ -z "$DISPLAY" ] && [ "$(tty)" = /dev/tty1 ]; then + startx +fi diff --git a/dotfiles/system/.xinitrc b/dotfiles/system/.xinitrc index 09ca018..85833a5 100755 --- a/dotfiles/system/.xinitrc +++ b/dotfiles/system/.xinitrc @@ -1 +1,2 @@ +#!/bin/sh startdwm |
