mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
add missing deps filter LTO if not using clang Closes: https://bugs.gentoo.org/887311 Closes: https://bugs.gentoo.org/901123 Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
From f379762f622724890693f63b0ab994978f51ef11 Mon Sep 17 00:00:00 2001
|
|
From: Leonardo Hernández Hernández <leohdz172@proton.me>
|
|
Date: Wed, 15 Sep 2021 23:04:13 -0500
|
|
Subject: [PATCH 2/2] Add gentoo support
|
|
|
|
--- a/src/icons.rs
|
|
+++ b/src/icons.rs
|
|
@@ -16,6 +16,7 @@ pub fn get(id: &str) -> String {
|
|
"mint" => "\u{f30e}", // Font Linux
|
|
"SUSE" => "\u{f314}", // Font Linux
|
|
"ubuntu" => "\u{f31b}", // Font Linux
|
|
+ "gentoo" => "\u{f30d}", // Font Linux
|
|
"elementary" => "\u{f309}", // Font Linux
|
|
"linux" => "\u{f31a}", // Font Linux
|
|
"windows" => "\u{f17a}", // Font Awesome; windows
|
|
--- a/src/modules/os.rs
|
|
+++ b/src/modules/os.rs
|
|
@@ -22,6 +22,7 @@ pub fn segment(segment: &mut Segment, _: &[&str]) {
|
|
"debian" => icons::get("debian"),
|
|
"fedora" => icons::get("fedora"),
|
|
"linuxmint" => icons::get("mint"),
|
|
+ "gentoo" => icons::get("gentoo"),
|
|
"suse" | "opensuse" => icons::get("SUSE"),
|
|
"ubuntu" => icons::get("ubuntu"),
|
|
"elementary" => icons::get("elementary"),
|
|
--
|
|
2.32.0
|
|
|