Skip to content

Instantly share code, notes, and snippets.

@gwenaelp
Created May 18, 2015 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gwenaelp/e6a32ff2176a99705421 to your computer and use it in GitHub Desktop.
Save gwenaelp/e6a32ff2176a99705421 to your computer and use it in GitHub Desktop.
set -g prefix C-a
new-session
#set-window-option -g xterm-keys on
set -g status-right '#(sensors -A acpitz-virtual-0 | grep temp | cut -d+ -f2 | cut -d. -f1)C %m/%d %H:%M'
#laptop: bat% (battime) temp speed month/day hour:minute
set -g status-right '#(acpi | cut -d" " -f4,5 | sed "s/, \\(.*\\\)/\\/\\1/g") #(acpi -t | cut -d" " -f4 | cut -d"." -f1)C #(cpufreq-info -mf | sed "s/[ Hz]//g") %m/%d %H:%M'
setw -g mode-keys vi
setw -g monitor-activity on
# Use Alt-arrow keys without prefix key to switch panes
bind -n C-Left select-pane -L
bind -n C-Right select-pane -R
bind -n C-Up select-pane -U
bind -n C-Down select-pane -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment