71 lines
1.8 KiB
Plaintext
71 lines
1.8 KiB
Plaintext
|
||
### statusbar {{{
|
||
|
||
# forground color
|
||
set -g status-fg "${debianred}"
|
||
# background color
|
||
set -g status-bg black
|
||
|
||
## Terminaux par défaut
|
||
# Window foreground color
|
||
set-window-option -g window-status-fg "${debianred}"
|
||
# Window background color
|
||
set-window-option -g window-status-bg "${darkgrey}"
|
||
# Attribut
|
||
#bright/bold:
|
||
#dim:
|
||
#underscore:
|
||
#blink: "clignotant"?
|
||
#reverse: reverse background and foreground colors
|
||
#hidden:
|
||
#italics:
|
||
set-window-option -g window-status-attr bold
|
||
|
||
## Terminal actif
|
||
# Current windows foreground color
|
||
set-window-option -g window-status-current-fg black
|
||
# Current windows background color
|
||
set-window-option -g window-status-current-bg "${debianred}"
|
||
# Attribut (cf ci-dessus pour la liste)
|
||
set-window-option -g window-status-current-attr dim
|
||
|
||
# selection
|
||
set -wg mode-style bg="${debianred}",fg=white,bold
|
||
|
||
set -g clock-mode-colour "${debianred}"
|
||
|
||
## Terminal avec notification
|
||
# Couleur du foreground
|
||
# Couleur du background
|
||
# Attribut
|
||
#setw -g window-status-alert-attr default
|
||
#setw -g window-status-alert-fg red
|
||
#setw -g window-status-alert-bg default
|
||
|
||
## Panel par défaut
|
||
set -g pane-border-fg white
|
||
|
||
## Panel actif
|
||
set -g pane-active-border-fg "${debianred}"
|
||
|
||
# right statusbar
|
||
# %H:%M:%S : Affiche de l'heure (actualisation lors de manipulation ou en fonction de la valeur de status-interval)
|
||
#set -g status-right "⚡[#[fg="${darkred}",bright]%H:%M:%S#[default]]"
|
||
|
||
# Additionnal info if no display available (aka tty)
|
||
# #H: hostname
|
||
# #(acpi | cut -d \" \" -f4): display percentage of battery
|
||
if '[ -z "$DISPLAY" ]' 'set -g status-right "#H #(acpi | cut -d \" \" -f4) [#[fg="${darkred}",bright]%H:%M:%S#[default]]"'
|
||
|
||
### }}}
|
||
|
||
### keybindings {{{
|
||
|
||
## Prefix key (default: C-b)
|
||
# Use C-a as a prefix-key only on local session
|
||
unbind C-b
|
||
set -g prefix C-a
|
||
bind a send-prefix
|
||
|
||
### }}}
|