Better config formating in README

also add /usr/share/icons/hicolor/scalable/apps to default for icon_dirs.
timeout_old
Tassilo Horn 4 years ago
parent a662b4bc2a
commit e93a833401
  1. 7
      README.md
  2. 1
      src/config.rs

@ -148,7 +148,12 @@ window_format = '{urgency_start}<b>“{title}”</b>{urgency_end} — <i>{app_na
workspace_format = '<b>Workspace {name}</b> <span alpha="20000">({id})</span>'
urgency_start = '<span background="darkred" foreground="yellow">'
urgency_end = '</span>'
icon_dirs = ['/usr/share/icons/Adwaita/48x48/apps', '/usr/share/icons/hicolor/48x48/apps', '/usr/share/pixmaps']
icon_dirs = [
'/usr/share/icons/hicolor/scalable/apps',
'/usr/share/icons/Adwaita/48x48/apps',
'/usr/share/icons/hicolor/48x48/apps',
'/usr/share/pixmaps',
]
fallback_icon = '/usr/share/icons/gnome/48x48/apps/kwin.png'
```

@ -81,6 +81,7 @@ impl Default for Format {
),
urgency_end: Some("</span>".to_string()),
icon_dirs: Some(vec![
"/usr/share/icons/hicolor/scalable/apps".to_string(),
"/usr/share/icons/hicolor/48x48/apps".to_string(),
"/usr/share/pixmaps".to_string(),
]),

Loading…
Cancel
Save