Merge branch 'master' of github.com:qbit/dotconf
This commit is contained in:
commit
80128e7342
6
.kshrc
6
.kshrc
@ -1,8 +1,9 @@
|
|||||||
GOT_AUTHOR="Aaron Bieber <aaron@bolddaemon.com>"
|
GOT_AUTHOR="Aaron Bieber <aaron@bolddaemon.com>"
|
||||||
BROWSER=$(which xdg-open 2>/dev/null)
|
BROWSER=$(which xdg-open 2>/dev/null)
|
||||||
OHMYKSH_DIR=${HOME}/src/ohmyksh
|
OHMYKSH_DIR=${HOME}/src/ohmyksh
|
||||||
|
OHMYPATCHES=~/patches
|
||||||
|
|
||||||
export GOT_AUTHOR BROWSER OHMYKSH_DIR
|
export GOT_AUTHOR BROWSER OHMYKSH_DIR OHMYPATCHES
|
||||||
|
|
||||||
. ${OHMYKSH_DIR}/ohmy.ksh
|
. ${OHMYKSH_DIR}/ohmy.ksh
|
||||||
|
|
||||||
@ -29,6 +30,8 @@ load_completion rc
|
|||||||
load_completion git
|
load_completion git
|
||||||
load_completion got
|
load_completion got
|
||||||
pgrep -q mpd && load_completion mpc
|
pgrep -q mpd && load_completion mpc
|
||||||
|
load_completion ogvt
|
||||||
|
load_completion man
|
||||||
|
|
||||||
#[[ -s ~/.ssh/host_config ]] && read_ssh_config ~/.ssh/host_config
|
#[[ -s ~/.ssh/host_config ]] && read_ssh_config ~/.ssh/host_config
|
||||||
#set -A complete_ssh -- ${HOST_LIST[*]}
|
#set -A complete_ssh -- ${HOST_LIST[*]}
|
||||||
@ -40,6 +43,7 @@ alias vi=nvim
|
|||||||
alias got='env EDITOR=nvim got'
|
alias got='env EDITOR=nvim got'
|
||||||
alias lookman='man -k'
|
alias lookman='man -k'
|
||||||
alias gomuks='env GOMUKS_CACHE_HOME=~/.gomuks gomuks'
|
alias gomuks='env GOMUKS_CACHE_HOME=~/.gomuks gomuks'
|
||||||
|
alias jfd='doas /usr/sbin/sysupgrade'
|
||||||
|
|
||||||
# the q prompt auto-loads the git-prompt extension
|
# the q prompt auto-loads the git-prompt extension
|
||||||
set_prompt q
|
set_prompt q
|
||||||
|
@ -47,7 +47,7 @@ case "$wmanager" in
|
|||||||
/home/qbit/bin/juicebox)
|
/home/qbit/bin/juicebox)
|
||||||
xsetroot -solid black
|
xsetroot -solid black
|
||||||
;;
|
;;
|
||||||
/usr/X11R6/bin/cwm)
|
/usr/X11R6/bin/cwm|/usr/local/bin/spectrwm)
|
||||||
xsetroot -solid black
|
xsetroot -solid black
|
||||||
while true; do ~/bin/bar; sleep 3; done | lemonbar-xft -d \
|
while true; do ~/bin/bar; sleep 3; done | lemonbar-xft -d \
|
||||||
-f "$Go Mono:pixelsize=12" \
|
-f "$Go Mono:pixelsize=12" \
|
||||||
|
4
bin/bar
4
bin/bar
@ -189,6 +189,6 @@ vmm() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
printf "%%{l} %s | %s | %%{A:apm -A:}%%{A2:apm -L:}%%{A3:apm -H:}%s%%{A}%%{A}%%{A} | %s %%{r} | %s | %s | %s | %s | %s | @%s " \
|
printf "%%{l} %s | %s | %%{A:apm -A:}%%{A2:apm -L:}%%{A3:apm -H:}%s%%{A}%%{A}%%{A} | %s | %s %%{r} | %s | %s | %s | %s | %s | @%s " \
|
||||||
"$(battery)" "$(temp)" "$(hz)" "$(mem)" \
|
"$(battery)" "$(temp)" "$(hz)" "$(mem)" "$(weather -color)" \
|
||||||
"$(now_playing)" "$(vmm)" "$(mail)" "$(wifi)" "$(date '+%Y-%m-%d %H:%M')" "$(beat)"
|
"$(now_playing)" "$(vmm)" "$(mail)" "$(wifi)" "$(date '+%Y-%m-%d %H:%M')" "$(beat)"
|
||||||
|
Loading…
Reference in New Issue
Block a user