Skip to content

Instantly share code, notes, and snippets.

@sukima
Created July 28, 2015 16:19
Show Gist options
  • Save sukima/cd4110329e3e006604ff to your computer and use it in GitHub Desktop.
Save sukima/cd4110329e3e006604ff to your computer and use it in GitHub Desktop.
# brew install reattach-to-user-namespace
set -g default-command "reattach-to-user-namespace -l bash"
# brew install cmatrix
set -g lock-command "nice -n 20 cmatrix -s -b"
# set -g lock-after-time 300
set -g lock-server on
bind m lock-server
# status prompt
# set -g status-left '#S 📅 #(gcalcli --nostarted --calendar "" agenda --nocolor | cut -d " " -f 4- | head -2 | tail -1 | sed "s/^ *//g" | sed "s/ / /g" | cut -c1-19)'
set -g status-left '#[fg=green]#S #[default]'
set -g status-right '#[fg=green]#10h #(~/.bin/tmux_battery_charge_indicator) #[bg=white,fg=colour240] %H:%M #[bg=colour240,fg=white] %Y-%m-%d '
set -g status-utf8 on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment