Skip to content

Commit

Permalink
Change icons to support linux
Browse files Browse the repository at this point in the history
Change icons to something displayable in default non-emoji fonts on
linux. Also update README to add screenshots
  • Loading branch information
jgeralnik authored and Bruno Sutic committed Aug 30, 2014
1 parent 581b422 commit ce65557
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ The above will result in this:<br/>
or this<br/>
![offline indicator](/screenshots/offline_indicator.png)<br/>

On linux the emoji is displayed, instead it will look like this:<br/>
![online indicator](/screenshots/online_indicator_linux.png)<br/>
or this<br/>
![offline indicator](/screenshots/offline_indicator_linux.png)<br/>

The icon will of course change as you connect/disconnect from the internet.

### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)
Expand Down
Binary file added screenshots/offline_indicator_linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/online_indicator_linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions scripts/online_status_icon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
online_option_string="@online_icon"
offline_option_string="@offline_icon"

online_icon_default=" "
offline_icon_default="⛔️ "
online_icon_default=" "
offline_icon_default=" "

source $CURRENT_DIR/shared.sh

Expand Down

0 comments on commit ce65557

Please sign in to comment.