File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -15,22 +15,28 @@ This plugin is useful if:
15
15
Add ` #{online_status} ` format string to your existing ` status-right ` tmux
16
16
option.
17
17
18
- Here's the example:
18
+ Here's the example in ` .tmux.conf ` :
19
19
20
- # in .tmux.conf
21
20
set -g status-right "Online: #{online_status} | %a %h-%d %H:%M "
22
21
23
- The above will result in this:<br />
22
+ ** OS X** <br />
23
+ On OS X the above will look like this when online<br />
24
24
![ online indicator] ( /screenshots/online_indicator.png ) <br />
25
- or this<br />
25
+ or this when offline <br />
26
26
![ offline indicator] ( /screenshots/offline_indicator.png ) <br />
27
27
28
- On linux the emoji is not displayed, instead it will look like this:<br />
28
+ ** Linux** <br />
29
+ Online status on Linux<br />
29
30
![ online indicator] ( /screenshots/online_indicator_linux.png ) <br />
30
- or this <br />
31
+ offline status <br />
31
32
![ offline indicator] ( /screenshots/offline_indicator_linux.png ) <br />
32
33
33
- The icon will of course change as you connect/disconnect from the internet.
34
+ #### Configure icons
35
+ If the icons don't display well on your machine you can change them in
36
+ ` .tmux.conf ` :
37
+
38
+ set -g @online_icon "ok"
39
+ set -g @offline_icon "offline!"
34
40
35
41
### Installation with [ Tmux Plugin Manager] ( https://github.com/tmux-plugins/tpm ) (recommended)
36
42
You can’t perform that action at this time.
0 commit comments