diff --git a/.tmux.conf b/.tmux.conf index 03f9814..5ba21bc 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -668,6 +668,18 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim # esac # } # +# _volume_info() { +# case "$_uname_s" in +# *Darwin*) +# [ x"$(osascript -e 'output muted of (get volume settings)')" = x"true" ] && printf "muted" && return +# printf "%s" "$(osascript -e 'output volume of (get volume settings)')" +# ;; +# *Linux*) +# awk -F"[%[]" '/dB/ { print $2 }' <(amixer get Master) +# ;; +# esac +# } +# # _split_window_ssh() { # tty=${1:-$(tmux display -p '#{pane_tty}')} # shift