Commit 69203b09bc

69203b09bc049475157c228663635a1e215cc8c4

parent: 6b4b36553a

Unsigned

Damir Jelić <poljar@termina.org.uk> · 2021-01-03 15:39 UTC

config: Add the busy_sign config option.

Layout: unified · split

src/bar_items/status.rs +3 −1
@@ -31,7 +31,9 @@ impl BarItemCallback for Status {
3131 }
3232
3333 if room.is_busy() {
34 signs.push("⏳".to_owned());
34 signs.push(
35 server.config().borrow().look().busy_sign(),
36 );
3537 }
3638 }
3739
src/config.rs +8
@@ -92,6 +92,14 @@ config!(
9292 "🔒",
9393 },
9494
95 busy_sign: String {
96 // Description.
97 "A sign that is used to show that the client is busy, \
98 e.g. when room history is being fetched",
99 // Default value.
100 "⏳",
101 },
102
95103 local_echo: bool {
96104 // Description
97105 "Should the sending message be printed out before the server \