@@ -1,6 +1,6 @@ | |||||
#!/bin/sh | #!/bin/sh | ||||
mkdir -p ~/.my/log | |||||
mkdir -p ~/.var/log | |||||
mkdir -p ~/.local/bin | mkdir -p ~/.local/bin | ||||
_iswindows(){ | _iswindows(){ | ||||
@@ -777,8 +777,8 @@ showinfo(){ | |||||
x(){ | x(){ | ||||
if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then | if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then | ||||
#mkdir -p ~/.my/log | |||||
# nohup startx >~/.my/log/xorg.log 2>&1 & | |||||
#mkdir -p ~/.var/log | |||||
# nohup startx >~/.var/log/xorg.log 2>&1 & | |||||
# exit | # exit | ||||
exec startx | exec startx | ||||
else | else | ||||
@@ -805,7 +805,7 @@ di(){ | |||||
tb(){ | tb(){ | ||||
local datenum=`date +%Y%m%d-%H%M%S` | local datenum=`date +%Y%m%d-%H%M%S` | ||||
local tb="$HOME/.my/tb/$datenum" | |||||
local tb="$HOME/.var/tb/$datenum" | |||||
mkdir -p "$tb" | mkdir -p "$tb" | ||||
for file in "$@" | for file in "$@" | ||||
do | do | ||||
@@ -4,6 +4,7 @@ test -n "$DISPLAY" || return | |||||
test -z "$ROXTERM_PID" || return | test -z "$ROXTERM_PID" || return | ||||
test -z "$SSH_CONNECTION" || return | test -z "$SSH_CONNECTION" || return | ||||
# if already in x return | |||||
case "$TERM" in | case "$TERM" in | ||||
xterm*) return;; | xterm*) return;; | ||||
esac | esac | ||||
@@ -26,8 +26,8 @@ _gsoundap(){ | |||||
} | } | ||||
_conky(){ | _conky(){ | ||||
conky -c ~/.dotfiles/conkyrc >~/.my/log/conky.log 2>&1 & | |||||
conky -c ~/.dotfiles/conkyrc.2 >~/.my/log/conky.2.log 2>&1 & | |||||
conky -c ~/.dotfiles/conkyrc >~/.var/log/conky.log 2>&1 & | |||||
conky -c ~/.dotfiles/conkyrc.2 >~/.var/log/conky.2.log 2>&1 & | |||||
} | } | ||||
_wicd(){ | _wicd(){ | ||||