update
This commit is contained in:
parent
4514bed79d
commit
723cf0b917
@ -36,6 +36,24 @@ fi
|
||||
# feh
|
||||
command -v feg > /dev/null 2>&1 && alias feh="feh --cache-size 256 --version-sort --sort filename --image-bg black"
|
||||
|
||||
# Замена шрифта у заголовка окна в i3 при использовании ssh или mosh
|
||||
if [ ! -z ${DISPLAY+x} ] ; then
|
||||
if command -v i3-msg >/dev/null 2>&1 ; then
|
||||
i3-mosh () {
|
||||
i3-msg -q title_format "<span foreground='#AAAAFF' font-weight='bold'>%title</span>"
|
||||
mosh "$@"
|
||||
i3-msg -q title_format "%title"
|
||||
}
|
||||
alias mosh=i3-mosh
|
||||
i3-ssh () {
|
||||
i3-msg -q title_format "<span foreground='#AAAAFF' font-weight='bold'>%title</span>"
|
||||
ssh "$@"
|
||||
i3-msg -q title_format "%title"
|
||||
}
|
||||
alias ssh=i3-ssh
|
||||
fi
|
||||
fi
|
||||
|
||||
# git
|
||||
alias gpa="git remote | xargs -L1 git push --all"
|
||||
alias gu="git pull"
|
||||
|
Loading…
Reference in New Issue
Block a user