-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bar module custom icons #268
Comments
Also @Jas-SinghFSU is there a way to define a module yourself. User custom module |
Maybe we can break this into multiple features:
|
there are custom modules but this feature should use the ones that are stock. and give more customizablity. |
this will make it a true waybar replacement |
@Jas-SinghFSU what do you think ? should we use object or array like the above for things like volumes, bluetooth? |
How does Waybar determine which icon to view? For instance, I see 9 in the |
i think most reasonable function is like this: divide 100 by list length and give the corresponding icon by that value. for example 100 divided by 10 is 10, this means if the battery percentage is 35 we get the 4th element. step = 100 / icon_array.length icon_array[ // is no remainder division operator |
for volume it would work. But for bluetooth and other modules that only have two states (on and off), it would create a confusion on UX |
we can leave a note under the icon list input field. says then I guess take the boolean value of the bluetooth for example get icon_list[bluetoothIsOn] |
I guess we can do something like this with instruction on label ["icon1","icon2","icon2","icon3","icon4"] with label as [20%, 30%, 50%, 80%, 100%]
["icon1","icon2"] with label [on, off] |
[
["icon1", "on"],
["icon2", "off"],
] I think this would make more sense. |
Is your feature request related to a problem? Please describe.
It would be cool to configure icons of the battery, bluetooth, wifi, sound to our liking. Right now only date (clock) icon can be set.
Describe the solution you'd like
Additional menu items to set icons. Like probably battery needs 5ish icons, sound 3 icons. The waybar way.
Describe alternatives you've considered
Straight forward.
Additional context
None
The text was updated successfully, but these errors were encountered: