mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-27 02:04:16 +00:00
27 lines
1.2 KiB
Markdown
27 lines
1.2 KiB
Markdown

|
|
|
|
### Description
|
|
Adds support for app icons that can replace the tag indicator and tag name.
|
|
This feature is configurable through an additional option in `rules`.
|
|
|
|
Icons should work out of the box. Emojis require a special font like
|
|
[Noto Color Emoji](https://fonts.google.com/noto/specimen/Noto+Color+Emoji).
|
|
|
|
When one or more app icons are present in a tag, the tag name will be enclosed
|
|
by the outer separators (`outer_separator_beg` and `outer_separator_end`).
|
|
Additionally, the icons within the tag will be separated by `inner_separator`.
|
|
|
|
Each tag can display a maximum of `truncate_icons_after` icons, after which the
|
|
`truncate_symbol` will be shown.
|
|
|
|
**Inspiration:** [XMonad's DynamicIcons](https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Hooks-DynamicIcons.html)
|
|
|
|
### Prerequisites
|
|
Make sure you have the [bar](/dwl/dwl-patches/raw/branch/main/patches/bar) patch.
|
|
|
|
### Download
|
|
- [0.8](/dwl/dwl-patches/raw/branch/main/patches/appicons/appicons.patch)
|
|
- [main 2025-10-24](/dwl/dwl-patches/raw/branch/main/patches/appicons/appicons.patch)
|
|
### Authors
|
|
- [rumenmitov](https://codeberg.org/rumenmitov)
|