3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/wayland/swayr/icon-paths.patch
2021-07-16 01:44:56 +03:00

18 lines
920 B
Diff

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(),