dharmx / vile Goto Github PK
View Code? Open in Web Editor NEWWaste of time. Smelly widgets feat. Spaghetti code. Built with eww-3.0.
Home Page: https://dharmx.is-a.dev/eww-powermenu
License: GNU General Public License v3.0
Waste of time. Smelly widgets feat. Spaghetti code. Built with eww-3.0.
Home Page: https://dharmx.is-a.dev/eww-powermenu
License: GNU General Public License v3.0
sometimes when the cover contains very simple colors (for example, only white letters in black background), the length of tuple parsed_colors
would be shorter than 9, which may cause indexOutOfBoundException when parsing dark color from tuple in such situation. I'd recommend replacing "dark": colors[9]}
with "dark": colors[len(colors) - 1]
at function get_bright_dark_from_cover()
, line 258
Amazing repo! It's been a great reference as I build my own eww
widgets :)
I do want to ask: Is the app launcher featured in the screenshots part of your eww
setup? Or are you using something else like rofi
?
I'm using your playerctl.py script for my own config, but when I play a music ,the script returns an error:
Traceback (most recent call last):
File "/home/u-han/.config/eww/u-han/scripts/playerctl.py", line 277, in
on_metadata(player, player.props.metadata)
File "/home/u-han/.config/eww/u-han/scripts/playerctl.py", line 87, in on_metadata
metadata |= get_bright_dark_from_cover(metadata["mpris:artUrl"])
File "/home/u-han/.config/eww/u-han/scripts/playerctl.py", line 244, in get_bright_dark_from_cover
colors = utils.img_dark_bright_col(image_path)
AttributeError: module 'utils' has no attribute 'img_dark_bright_col'
it seems I don't have the correct Python Package installed, could you provide the python package info?
Hello,
This is a wonderfully built project and looks beautiful!
Although I updated my font cache with the Phosphor icons .ttf file, I am still having issues with embedding them into my eww widgets. Just to be clear, you go to Phosphoricons.com, copy the SVG, and paste it into your .yuck file, correct? Sorry if this is a dumb question, I just cant find any other resources that address this issue. I am able to use the css background-image (with : url()) property and apply it to a class, and furthermore apply it to each widget through the :class property in eww, but it sort of defeats the purpose of using the icon since I can only manipulate background-* properties in css. If you could refer me to any additional resources or give any guidance for embedding the svg/png icons as text, that would be highly appreciated.
I am on archlinux (kernel 6.3.7-arch1-1), wayland as my display server, hyprland as my compositor, alacritty as my term. I dont know how much this would assist with troubleshooting, but just wanted to include just in case.
Thanks!
I am trying to make a eww notification panel but nearly every one uses your script, however when I try to run it with
python logger.py init
i get this error
Traceback (most recent call last):
File "/home/*****/.config/eww/scripts/logger.py", line 149, in <module>
cache.Eavesdropper(master_callback, "/home/*****/.config/dunst").eavesdrop()
File "/home/*****/.config/eww/scripts/cache.py", line 198, in eavesdrop
bus.add_match_string(",".join([f"{key}={value}" for key, value in rules.items()]))
File "/usr/lib/python3.11/site-packages/dbus/bus.py", line 386, in add_match_string
self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3.11/site-packages/dbus/connection.py", line 634, in call_blocking
reply_message = self.send_message_with_reply_and_block(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.MatchRuleInvalid: Invalid match rule
(I have commented out my username)
What is going wrong and how do I fix it?
Thank you!
hello, how how to get structs/side-utils/.weather-env
?
Hi where is ewwrc from. i don't see samples.
Thanks for your instructions i love your dots amazing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.