Procházet zdrojové kódy

Merge branch 'master' of github.com:10sr/dotfiles

pull/1/head
10sr před 11 roky
rodič
revize
ba5744c5ad
4 změnil soubory, kde provedl 8 přidání a 15 odebrání
  1. +1
    -1
      setup.sh
  2. +4
    -12
      shrc
  3. +1
    -0
      xinitrc
  4. +2
    -2
      xprograms

+ 1
- 1
setup.sh Zobrazit soubor

@@ -1,6 +1,6 @@
#!/bin/sh

mkdir -p ~/.my/log
mkdir -p ~/.var/log
mkdir -p ~/.local/bin

_iswindows(){


+ 4
- 12
shrc Zobrazit soubor

@@ -787,8 +787,8 @@ showinfo(){

x(){
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
exec startx
else
@@ -815,7 +815,7 @@ di(){

tb(){
local datenum=`date +%Y%m%d-%H%M%S`
local tb="$HOME/.my/tb/$datenum"
local tb="$HOME/.var/tb/$datenum"
mkdir -p "$tb"
for file in "$@"
do
@@ -1109,15 +1109,6 @@ then
__my_cdef="\[\e[0m\]"
fi

# export _LAST_STATUS=a
# __my_export_last_status(){
# local last=$?
# echo $last
# export _LAST_STATUS=$last
# echo $_LAST_STATUS
# return $last
# }

_ps1_bash="\
${__my_c4}:: ${__my_cdef}[${__my_c2}\u@\H${__my_cdef}:${__my_c1}\w/${__my_cdef}]\$(__my_ps1_git)\$(__my_ps1_bttry)\$(__my_ps1_ipaddr)\$(__my_ps1_moc)\n\
${__my_c4}:: ${__my_cdef}l${SHLVL}n\#j\js\$laststatus $(__my_ps1_scale)\D{%T} ${__my_ps1_str}\$(__my_alert_fail)\$ "
@@ -1144,3 +1135,4 @@ __my_set_title(){
PROMPT_COMMAND="__my_set_title \${USER}@\${HOSTNAME}\:\${PWD};
__my_set_screen_title \$(basename \"\$PWD\")/"
PROMPT_COMMAND="laststatus=\$?;$PROMPT_COMMAND"
laststatus=0

+ 1
- 0
xinitrc Zobrazit soubor

@@ -4,6 +4,7 @@ test -n "$DISPLAY" || return
test -z "$ROXTERM_PID" || return
test -z "$SSH_CONNECTION" || return

# if already in x return
case "$TERM" in
xterm*) return;;
esac


+ 2
- 2
xprograms Zobrazit soubor

@@ -26,8 +26,8 @@ _gsoundap(){
}

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


Načítá se…
Zrušit
Uložit