Browse Source

use .var instead of .my

pull/1/head
10sr 11 years ago
parent
commit
b17e6509e5
4 changed files with 7 additions and 6 deletions
  1. +1
    -1
      setup.sh
  2. +3
    -3
      shrc
  3. +1
    -0
      xinitrc
  4. +2
    -2
      xprograms

+ 1
- 1
setup.sh View File

@@ -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(){


+ 3
- 3
shrc View File

@@ -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


+ 1
- 0
xinitrc View File

@@ -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


+ 2
- 2
xprograms View File

@@ -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(){


Loading…
Cancel
Save