diff --git a/assets/fontello/config.json b/assets/fontello/config.json index 83035ce90..26bb70ded 100644 --- a/assets/fontello/config.json +++ b/assets/fontello/config.json @@ -113,6 +113,12 @@ "css": "popup", "code": 59406, "src": "typicons" + }, + { + "uid": "8ea66d97faf9816abd34f48f3f26d216", + "css": "bucket", + "code": 59408, + "src": "entypo" } ] } \ No newline at end of file diff --git a/fonts/halloy-icons.ttf b/fonts/halloy-icons.ttf index ac175638d..300006683 100644 Binary files a/fonts/halloy-icons.ttf and b/fonts/halloy-icons.ttf differ diff --git a/src/icon.rs b/src/icon.rs index a89a89bf6..171a6f754 100644 --- a/src/icon.rs +++ b/src/icon.rs @@ -72,6 +72,10 @@ pub fn popout<'a>() -> Text<'a> { to_text('\u{E80E}') } +pub fn logs<'a>() -> Text<'a> { + to_text('\u{E810}') +} + fn to_text<'a>(unicode: char) -> Text<'a> { text(unicode.to_string()) .line_height(LineHeight::Relative(1.0)) diff --git a/src/screen/dashboard/sidebar.rs b/src/screen/dashboard/sidebar.rs index c576abd3f..89731dd0c 100644 --- a/src/screen/dashboard/sidebar.rs +++ b/src/screen/dashboard/sidebar.rs @@ -225,8 +225,7 @@ impl Sidebar { .iter(main_window) .any(|(_, _, pane)| matches!(pane.buffer, crate::buffer::Buffer::Logs(_))); menu_buttons = menu_buttons.push(new_button( - // TODO: Update - icon::copy(), + icon::logs(), theme::text::primary, Some(Message::ToggleLogs), logs_open,