Skip to content

Commit ce65557

Browse files
jgeralnikBruno Sutic
authored andcommitted
Change icons to support linux
Change icons to something displayable in default non-emoji fonts on linux. Also update README to add screenshots
1 parent 581b422 commit ce65557

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ The above will result in this:<br/>
2525
or this<br/>
2626
![offline indicator](/screenshots/offline_indicator.png)<br/>
2727

28+
On linux the emoji is displayed, instead it will look like this:<br/>
29+
![online indicator](/screenshots/online_indicator_linux.png)<br/>
30+
or this<br/>
31+
![offline indicator](/screenshots/offline_indicator_linux.png)<br/>
32+
2833
The icon will of course change as you connect/disconnect from the internet.
2934

3035
### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)
2.75 KB
Loading
2.78 KB
Loading

scripts/online_status_icon.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
55
online_option_string="@online_icon"
66
offline_option_string="@offline_icon"
77

8-
online_icon_default=" "
9-
offline_icon_default="⛔️ "
8+
online_icon_default=" "
9+
offline_icon_default=" "
1010

1111
source $CURRENT_DIR/shared.sh
1212

0 commit comments

Comments
 (0)