Description: **NEW** Ability to define your own color for the line indicator.
---
Latte Dock indicator trying to reproduce the Windows 11 taskbar, but more configurable.
This indicator theme is based on latte-indicator-win10 by psifidotos: https://github.com/psifidotos/latte-indicator-win10 and latte-indicator-glorious by manilarome: https://github.com/manilarome/latte-indicator-glorious
DISCLAIMER: I have only tested this indicator with 50px absolute icon size, 10% margin length and 30% margin thickness (Latte Dock settings), so please let me know if there are any issues with settings you use (I'll try my best to fix it but no promises).
Enjoy!
---
Install
From Latte UI: Effects -> Indicators -> Style -> Get New Indicators... OR - Download the indicator/clone the project on github - Extract the zip if you downloaded it from this website - Change into the extracted directory/cloned directory - Run "kpackagetool5 -i . -t Latte/Indicator"
---
Update
From Latte UI: Effects -> Indicators -> Style -> Get New Indicators... -> Installed OR Same steps as above, but run "kpackagetool5 -u . -t Latte/Indicator"Last changelog:
Version 0.1.3
It is now possible to define your own custom color for the line indicator.
One note please, X-KDE-PluginInfo-Name record at metadata.desktop should be unique, it can be anything actually. Unfortunately now there are two different Win11 indicators from different creators with the same X-KDE-PluginInfo-Name. The problem is that they are identified from Latte as being the same. Please update X-KDE-PluginInfo-Name in order to be unique or communicate with each other if you want :)
I watched some Windows 11 videos in youtube. It appears that during clicking an applet or when triggering a task launcher some animations are activated for the icon.
Latte indicators API already provides iconOffsetX/Y that could be used for animating the icon X/Y
I tested that I can also make public the following:
iconRotation, iconScale
so in theory an indicator could provide its own click animation for icons and launching animation for tasks...
There is a chance that this could be even possible for v0.10 branch...
Do you think it would be nice to have for the indicators?
Oh definitely! It would be awesome! I had actually implemented an iconScale behavior in my local latte-dock a few months ago, but for some reason I couldn't figure out how to send a merge request and then I forgot about it (just like how I forgot to upload this indicator lol). So yes I do think it would make a great addition to Latte, it could open up the doors for some really fun animations!
just merged in v0.10 https://invent.kde.org/plasma/latte-dock/-/commit/f36aada8c8e6a50ff5b950ff9ed69cb04a7fa457 that will be part of Latte 0.10.4, you can now use through your indicator:
--iconTransformOrigin
--iconScale
--iconRotation
--iconOpacity
I will try also to provide a way in order for indicators to provide their own solutions for the following animations:
--TaskLauncherAnimation
--GroupedWindowAddedAnimation
--GroupedWindowRemovedAnimation
--InAttentionAnimation
the launcher animation is the most challenging because the ground work is already merge for v0.10.4 . I hope that animations solution will also be part of Latte v0.10.4 . I will ping you when it is ready and merged.
Hahahaha thanks! It was actually after seeing yours that I remembered I hadn't published mine lol. Worked on it about 3 months ago, got caught up with school and completely forgot about it. Yours looks good too! You managed to implement a decent looking grouped task indicator, something I struggled with for a little while then decided I would not implement for the time being.
Np at all! And thank you also! Tbh I didn't change much coding wise, it was mainly me semi-randomly setting up some values that eventually turned into the indicator you've seen! I *think* it still needs more work on that end though. Also gotta say, having that progress indicator implemented is quite an impressive feat!
Feel free to use my changes in your code btw!
Thanks for the kind words! And yeah I get it, I also spent a ton of time trying random values for a bunch of things until i was satisfied (and I'm still not fully satisfied with it lol). I'll definitely take a look at your code and try to implement some of your changes when I get the time!
Ratings & Comments
12 Comments
What icon theme do you use in your screenshot?
I use the Bloom icons - https://store.kde.org/p/1481977/
One note please, X-KDE-PluginInfo-Name record at metadata.desktop should be unique, it can be anything actually. Unfortunately now there are two different Win11 indicators from different creators with the same X-KDE-PluginInfo-Name. The problem is that they are identified from Latte as being the same. Please update X-KDE-PluginInfo-Name in order to be unique or communicate with each other if you want :)
I watched some Windows 11 videos in youtube. It appears that during clicking an applet or when triggering a task launcher some animations are activated for the icon. Latte indicators API already provides iconOffsetX/Y that could be used for animating the icon X/Y I tested that I can also make public the following: iconRotation, iconScale so in theory an indicator could provide its own click animation for icons and launching animation for tasks... There is a chance that this could be even possible for v0.10 branch... Do you think it would be nice to have for the indicators?
Oh definitely! It would be awesome! I had actually implemented an iconScale behavior in my local latte-dock a few months ago, but for some reason I couldn't figure out how to send a merge request and then I forgot about it (just like how I forgot to upload this indicator lol). So yes I do think it would make a great addition to Latte, it could open up the doors for some really fun animations!
just merged in v0.10 https://invent.kde.org/plasma/latte-dock/-/commit/f36aada8c8e6a50ff5b950ff9ed69cb04a7fa457 that will be part of Latte 0.10.4, you can now use through your indicator: --iconTransformOrigin --iconScale --iconRotation --iconOpacity I will try also to provide a way in order for indicators to provide their own solutions for the following animations: --TaskLauncherAnimation --GroupedWindowAddedAnimation --GroupedWindowRemovedAnimation --InAttentionAnimation the launcher animation is the most challenging because the ground work is already merge for v0.10.4 . I hope that animations solution will also be part of Latte v0.10.4 . I will ping you when it is ready and merged.
Oh wow those are amazing news! Thank you so much! I'll try my best to implement once I get some time.
10 Forgot to rate it whoops
LMAO Such a coincidence! I tried my hands on doing such a thing, but it seems yours look way better than mine already!
Hahahaha thanks! It was actually after seeing yours that I remembered I hadn't published mine lol. Worked on it about 3 months ago, got caught up with school and completely forgot about it. Yours looks good too! You managed to implement a decent looking grouped task indicator, something I struggled with for a little while then decided I would not implement for the time being.
Np at all! And thank you also! Tbh I didn't change much coding wise, it was mainly me semi-randomly setting up some values that eventually turned into the indicator you've seen! I *think* it still needs more work on that end though. Also gotta say, having that progress indicator implemented is quite an impressive feat! Feel free to use my changes in your code btw!
Thanks for the kind words! And yeah I get it, I also spent a ton of time trying random values for a bunch of things until i was satisfied (and I'm still not fully satisfied with it lol). I'll definitely take a look at your code and try to implement some of your changes when I get the time!