depot/third_party/nixpkgs/pkgs/tools/wayland/swayr/icon-paths.patch

18 lines
920 B
Diff
Raw Normal View History

diff --git a/src/config.rs b/src/config.rs
index de7d04b..291114b 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -197,6 +197,12 @@ impl Default for Format {
),
urgency_end: Some("</span>".to_string()),
icon_dirs: Some(vec![
+ "/run/current-system/sw/share/icons/hicolor/scalable/apps".to_string(),
+ "/run/current-system/sw/share/icons/hicolor/48x48/apps".to_string(),
+ "/run/current-system/sw/share/pixmaps".to_string(),
+ "~/.nix-profile/share/icons/hicolor/scalable/apps".to_string(),
+ "~/.nix-profile/share/icons/hicolor/48x48/apps".to_string(),
+ "~/.nix-profile/share/pixmaps".to_string(),
"/usr/share/icons/hicolor/scalable/apps".to_string(),
"/usr/share/icons/hicolor/48x48/apps".to_string(),
"/usr/share/pixmaps".to_string(),