Divers tmux/mpc
This commit is contained in:
parent
5ff4c5da67
commit
10fe3488c4
@ -30,6 +30,7 @@ alias ga='git-annex '
|
||||
alias gas='git-annex sync '
|
||||
alias vi='vim '
|
||||
alias tmr='~/bin/tmux_rattach.sh'
|
||||
alias mpc='mpc -f "[%artist% - %title% \[%album%\] %date%]|[%file%]"'
|
||||
# envoie la playlist mpc et lit le meme morceau
|
||||
function mpct() {
|
||||
if [ $1 ] ; then
|
||||
|
3
_bashrc
3
_bashrc
@ -70,6 +70,9 @@ fi
|
||||
|
||||
##### MISC #####
|
||||
|
||||
# edit file in tmux pane
|
||||
peek() { tmux split-window -p 33 "$EDITOR" "$@" || exit; }
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
shopt -s checkwinsize
|
||||
|
@ -37,7 +37,7 @@ set -g status-bg black
|
||||
set -g status-fg white
|
||||
set -g status-interval 5
|
||||
set -g status-left-length 90
|
||||
set -g status-right-length 90
|
||||
set -g status-right-length 150
|
||||
set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=blue]#h#[fg=white]#[fg=yellow]"
|
||||
set -g status-justify left
|
||||
set -g status-right '#[fg=Cyan]#S #[fg=green,bg=black]#(~/bin/tmux-mem-cpu-load --colors --interval 5) #[fg=white]%a %d %b %R'
|
||||
set -g status-right '#[fg=Cyan]#S #[fg=green,bg=black]#(mpc -f "[%%artist%% - %%title%% \[%%album%%\] %%date%%]|[%%file%%]" current) #[fg=white]%a %d %b %R'
|
||||
|
Loading…
Reference in New Issue
Block a user