|
| 1 | +# Default configuration file for tmux-powerline. |
| 2 | +# Modeline { |
| 3 | +# vi: foldmarker={,} foldmethod=marker foldlevel=0 tabstop=4 filetype=sh |
| 4 | +# } |
| 5 | + |
| 6 | +# General { |
| 7 | + # Show which segment fails and its exit code. |
| 8 | + export TMUX_POWERLINE_DEBUG_MODE_ENABLED="false" |
| 9 | + # Use patched font symbols. |
| 10 | + export TMUX_POWERLINE_PATCHED_FONT_IN_USE="true" |
| 11 | + # The theme to use. |
| 12 | + export TMUX_POWERLINE_THEME="default" |
| 13 | + # Overlay dirctory to look for themes. There you can put your own themes outside the repo. Fallback will still be the "themes" directory in the repo. |
| 14 | + export TMUX_POWERLINE_DIR_USER_THEMES="" |
| 15 | + # Overlay dirctory to look for segments. There you can put your own segments outside the repo. Fallback will still be the "segments" directory in the repo. |
| 16 | + export TMUX_POWERLINE_DIR_USER_SEGMENTS="" |
| 17 | +# } |
| 18 | + |
| 19 | +## battery.sh { |
| 20 | +# # How to display battery remaining. Can be {percentage, cute}. |
| 21 | +# export TMUX_POWERLINE_SEG_BATTERY_TYPE="cute" |
| 22 | +# # How may hearts to show if cute indicators are used. |
| 23 | +# export TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS="5" |
| 24 | +## } |
| 25 | + |
| 26 | +# date.sh { |
| 27 | + # date(1) format for the date. If you don't, for some reason, like ISO 8601 format you might want to have "%D" or "%m/%d/%Y". |
| 28 | + export TMUX_POWERLINE_SEG_DATE_FORMAT="%F" |
| 29 | +# } |
| 30 | + |
| 31 | +# earthquake.sh { |
| 32 | + # The data provider to use. Currently only "goo" is supported. |
| 33 | + export TMUX_POWERLINE_SEG_EARTHQUAKE_DATA_PROVIDER="goo" |
| 34 | + # How often to update the earthquake data in seconds. |
| 35 | + # Note: This is not an early warning detector, use this |
| 36 | + # to be informed about recent earthquake magnitudes in your |
| 37 | + # area. If this is too often, goo may decide to ban you form |
| 38 | + # their server |
| 39 | + export TMUX_POWERLINE_SEG_EARTHQUAKE_UPDATE_PERIOD="600" |
| 40 | + # Only display information when earthquakes are within this many minutes |
| 41 | + export TMUX_POWERLINE_SEG_EARTHQUAKE_ALERT_TIME_WINDOW="60" |
| 42 | + # Display time with this format |
| 43 | + export TMUX_POWERLINE_SEG_EARTHQUAKE_TIME_FORMAT='(%H:%M)' |
| 44 | + # Display only if magnitude is greater or equal to this number |
| 45 | + export TMUX_POWERLINE_SEG_EARTHQUAKE_MIN_MAGNITUDE="3" |
| 46 | +# } |
| 47 | + |
| 48 | +# hostname.sh { |
| 49 | + # Use short or long format for the hostname. Can be {"short, long"}. |
| 50 | + export TMUX_POWERLINE_SEG_HOSTNAME_FORMAT="short" |
| 51 | +# } |
| 52 | + |
| 53 | +# mailcount.sh { |
| 54 | + # Mailbox type to use. Can be any of {apple_mail, gmail, maildir, mbox, mailcheck} |
| 55 | + export TMUX_POWERLINE_SEG_MAILCOUNT_MAILBOX_TYPE="" |
| 56 | + |
| 57 | + ## Gmail |
| 58 | + # Enter your Gmail username here WITH OUT @gmail.com.( OR @domain) |
| 59 | + export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_USERNAME="" |
| 60 | + # Google password. Recomenned to use application specific password (https://accounts.google.com/b/0/IssuedAuthSubTokens) Leave this empty to get password from OS X keychain. |
| 61 | + # For OSX users : MAKE SURE that you add a key to the keychain in the format as follows |
| 62 | + # Keychain Item name : http://<value-you-fill-in-server-variable-below> |
| 63 | + # Account name : <username-below>@<server-below> |
| 64 | + # Password : Your password ( Once again, try to use 2 step-verification and application-specific password) |
| 65 | + # See http://support.google.com/accounts/bin/answer.py?hl=en&answer=185833 for more info. |
| 66 | + export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_PASSWORD="" |
| 67 | + # Domain name that will complete your email. For normal GMail users it probably is "gmail.com but can be "foo.tld" for Google Apps users. |
| 68 | + export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_SERVER="gmail.com" |
| 69 | + # How often in minutes to check for new mails. |
| 70 | + export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_INTERVAL="5" |
| 71 | + |
| 72 | + ## Maildir |
| 73 | + # Path to the maildir to check. |
| 74 | + export TMUX_POWERLINE_SEG_MAILCOUNT_MAILDIR_INBOX="/Users/uga/.mail/inbox/new" |
| 75 | + |
| 76 | + ## mbox |
| 77 | + # Path to the mbox to check. |
| 78 | + export TMUX_POWERLINE_SEG_MAILCOUNT_MBOX_INBOX="" |
| 79 | + |
| 80 | + ## mailcheck |
| 81 | + # Optional path to mailcheckrc |
| 82 | + export TMUX_POWERLINE_SEG_MAILCOUNT_MAILCHECKRC="/Users/uga/.mailcheckrc" |
| 83 | +# } |
| 84 | + |
| 85 | +# now_playing.sh { |
| 86 | + # Music player to use. Can be any of {audacious, banshee, cmus, itunes, lastfm, mocp, mpd, mpd_simple, pithos, rdio, rhythmbox, spotify, spotify_wine}. |
| 87 | + export TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER="" |
| 88 | + # Maximum output length. |
| 89 | + export TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN="40" |
| 90 | + # How to handle too long strings. Can be {trim, roll}. |
| 91 | + export TMUX_POWERLINE_SEG_NOW_PLAYING_TRIM_METHOD="trim" |
| 92 | + # Charcters per second to roll if rolling trim method is used. |
| 93 | + export TMUX_POWERLINE_SEG_NOW_PLAYING_ROLL_SPEED="2" |
| 94 | + |
| 95 | + # Hostname for MPD server in the format "[password@]host" |
| 96 | + export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_HOST="localhost" |
| 97 | + # Port the MPD server is running on. |
| 98 | + export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_PORT="6600" |
| 99 | + # Song display format for mpd_simple. See mpc(1) for delimiters. |
| 100 | + export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_SIMPLE_FORMAT="%artist% - %title%" |
| 101 | + |
| 102 | + # Username for Last.fm if that music player is used. |
| 103 | + export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_USERNAME="" |
| 104 | + # How often in seconds to update the data from last.fm. |
| 105 | + export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_UPDATE_PERIOD="30" |
| 106 | + # Fancy char to display before now playing track |
| 107 | + export TMUX_POWERLINE_SEG_NOW_PLAYING_NOTE_CHAR="♫" |
| 108 | +# } |
| 109 | + |
| 110 | +# pwd.sh { |
| 111 | + # Maximum length of output. |
| 112 | + export TMUX_POWERLINE_SEG_PWD_MAX_LEN="40" |
| 113 | +# } |
| 114 | + |
| 115 | +# time.sh { |
| 116 | + # date(1) format for the time. Americans might want to have "%I:%M %p". |
| 117 | + export TMUX_POWERLINE_SEG_TIME_FORMAT="%H:%M" |
| 118 | +# } |
| 119 | + |
| 120 | +# weather.sh { |
| 121 | + # The data provider to use. Currently only "yahoo" is supported. |
| 122 | + export TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER="yahoo" |
| 123 | + # What unit to use. Can be any of {c,f,k}. |
| 124 | + export TMUX_POWERLINE_SEG_WEATHER_UNIT="c" |
| 125 | + # How often to update the weather in seconds. |
| 126 | + export TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD="600" |
| 127 | + # Name of GNU grep binary if in PATH, or path to it. |
| 128 | + export TMUX_POWERLINE_SEG_WEATHER_GREP="grep" |
| 129 | + |
| 130 | + # Your location. Find a code that works for you: |
| 131 | + # 1. Go to Yahoo weather http://weather.yahoo.com/ |
| 132 | + # 2. Find the weather for you location |
| 133 | + # 3. Copy the last numbers in that URL. e.g. "http://weather.yahoo.com/united-states/california/newport-beach-12796587/" has the numbers "12796587" |
| 134 | + export TMUX_POWERLINE_SEG_WEATHER_LOCATION="" |
| 135 | +# } |
0 commit comments