Quellcode durchsuchen

add function x, modify document

pull/1/head
10sr vor 14 Jahren
Ursprung
Commit
22ee46031b
2 geänderte Dateien mit 13 neuen und 1 gelöschten Zeilen
  1. +5
    -1
      README.txt
  2. +8
    -0
      bashrc

+ 5
- 1
README.txt Datei anzeigen

@@ -8,5 +8,9 @@


~/.xinitrc <= startx (~/.config/openbox/autostart also executed) ~/.xinitrc <= startx (~/.config/openbox/autostart also executed)
| |
`--~/.dotfiles/xinitrc
`--openbox-session
|
|--~/.dotfiles/xprofile
|
`--~/.dotfiles/xprograms



+ 8
- 0
bashrc Datei anzeigen

@@ -143,6 +143,14 @@ showinfo(){
__try_exec xset q __try_exec xset q
} }


x(){
if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then
nohup startx >~/.xorg.log 2>&1 &
else
echo "X cant be started! Maybe another X is already started!" 1>&2
fi
}

export __MYGITBAREREP="${HOME}/dbx/.git-bare" export __MYGITBAREREP="${HOME}/dbx/.git-bare"
git-make-local-rep(){ git-make-local-rep(){
test $# -eq 0 && { test $# -eq 0 && {


Laden…
Abbrechen
Speichern