~xdavidwu/dotfiles

ace08d95f8489644b978ece840c3b4eeb1d7eaeb — xdavidwu 3 years ago f6ac91b
bash: add desktop notify helper
1 files changed, 4 insertions(+), 0 deletions(-)

M .bashrc
M .bashrc => .bashrc +4 -0
@@ 138,6 138,10 @@ vidcat() {
	ffmpeg -i "$@" -loglevel warning -vframes 1 -f apng - | imgcat -
}

notify() {
	echo -ne "\x1b]777;notify;title;$@\x1b"'\\'
}

# application envs
# policy: should here even if global like /etc/environments
export GPG_TTY=$(tty)