-
WebNowPlaying
Discontinued A NowPlaying like plugin for rainmeter built for getting music info from websites
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
webextensions-examples
Example Firefox add-ons created using the WebExtensions API (by SphinxKnight)
in any case, if you can figure out how to get pywal to send messages by websocket, the rest is pretty simple. you just need to make a script that listens on the specific port, similar to WebNowPlaying.js in the extension example I gave. only, you don't want to do it in an actual webextension, since you presumably need access to the UI itself for what you're trying to do. if your goal is to change the colors of the UI based on your wallpaper or something like that, then an extension won't work, you'll need to load the script with autoconfig — I recommend using this. scripts loaded that way will not be isolated the way extensions are so you'll have access to global objects and the actual UI window document. which means you will have access to nsIStyleSheetService and can add your sheets that way. like this: Cc["@mozilla.org/content/style-sheet-service;1"].getService(Ci.nsIStyleSheetService).loadAndRegisterSheet(uri, 1); the number at the end there is the type of sheet. user agent = 0, user = 1, author = 2. userChrome.css is technically a user sheet but it has a special rule in the cascade so I don't think you can give a stylesheet exactly the same priority. I would just use 1, unless you need to style shadow parts or slots or use some syntax that's unavailable in user sheets.
there are a lot of ways to go about that but here's one I'm most familiar with. here's the main module, the firefox end is a webextension, here is my fork. this works in sort of the reverse order, where the firefox end sends messages and websocket-sharp receives them. this one is obviously of a bigger scale than what you're trying to achieve, so just ignore the stuff related to rainmeter, and in the extension ignore the websites folder. the only relevant stuff is just how to use the websocket API on the javascript end and on the program end. could be that you use node to interface between pywal and websocket, or maybe there's something like websocket-sharp for python.
here's an example: https://github.com/SphinxKnight/webextensions-examples/tree/master/native-messaging#windows-setup
There is a youtube link to my theming script (now complete with FF color changing) on my github
Related posts
-
Integrated Wallpaper Engine and Rainmeter for this setup
-
Can I change the skip length for PIP?
-
My new desktop made with rainmeter, what do you guys think? I also am interested in doing one for SMT (specially IV, DDS and Devil Survivor)
-
NXT-OS, WebNowPlaying, and Spotify Integration: Help?
-
VISUALIZER supporting AMAZON MUSIC .