mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-06-11 10:23:19 +00:00
appicons patch
This commit is contained in:
committed by
A Frederick Christensen
parent
7c70e204b8
commit
010b4b70be
@@ -0,0 +1,25 @@
|
||||

|
||||
|
||||
### 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
|
||||
- [main_2025-10-24](/dwl/dwl-patches/raw/branch/main/patches/bar-appicons/appicons.patch)
|
||||
### Authors
|
||||
- [rumenmitov](https://codeberg.org/rumenmitov)
|
||||
Reference in New Issue
Block a user