Переключение положения статус-бара, включение/отключение поддержки мыши

This commit is contained in:
Дмитрий Рамазанов 2019-09-20 03:52:16 +00:00
parent 0cfbfddf28
commit 4cab4ef0b9

View File

@ -113,7 +113,15 @@ bind D if -F '#{session_many_attached}' \
'display "Session has only 1 client attached"'
# Hide status bar on demand
bind C-s if -F '#{s/off//:status}' 'set status off' 'set status on'
bind b if -F '#{s/off//:status}' 'set status off' 'set status on'
# Switch status bar position
bind a if -F '#{s/bottom//:status-position}' 'set -u status-position' 'set status-position bottom'
# Switch mouse on/off
bind n if -F '#{s/off//:mouse}' \
'set mouse off ; display-message "Mouse [OFF]"' \
'set -u mouse ; display-message "Mouse [ON]"'
# ==================================================
# === Window monitoring for activity and silence ===