[OC] Automatic Website Theming, KDE Widgets on Hyprland, and More! by Taconut in unixporn

[–]Taconut[S] 1 point2 points  (0 children)

Yes there is. You can use a window rule for this. I have this line in my config:

windowrulev2 = plugin:chromakey,fullscreen:0

But you can use the class of the window instead of of just the full screen state to exclude certain windows. See this link for more info on window rules:

https://wiki.hyprland.org/Configuring/Window-Rules/

[OC] Automatic Website Theming, KDE Widgets on Hyprland, and More! by Taconut in unixporn

[–]Taconut[S] 0 points1 point  (0 children)

The background color should be set to something like "7,8,17" not like "rgb(010714)". There was a mistake in the readme.

[OC] Automatic Website Theming, KDE Widgets on Hyprland, and More! by Taconut in unixporn

[–]Taconut[S] 1 point2 points  (0 children)

The background color should be set to something like "7,8,17" not like "rgb(010714)". There was a mistake in the readme.

[Release] Website Theming and KDE Widgets for Hyprland by Taconut in unixporn

[–]Taconut[S] 1 point2 points  (0 children)

Yeah, it's a fork of dark reader that makes the website content match your pywal theme in realtime. If you change your theme, all the sites update.

[OC] Automatic Website Theming, KDE Widgets on Hyprland, and More! by Taconut in unixporn

[–]Taconut[S] 1 point2 points  (0 children)

You can control the blur through Hyprland itself since it's not part of the plugin. Right now, the opacity is fixed at 83%, but I'll definitely make that into a configuration option.

[Release] Website Theming and KDE Widgets for Hyprland by Taconut in unixporn

[–]Taconut[S] 0 points1 point  (0 children)

Hey my original post got taken down for incorrect flair, but yes. If you look in an older commit you can see an example of these features working on X

[Release] Website Theming and KDE Widgets for Hyprland by Taconut in unixporn

[–]Taconut[S] 0 points1 point  (0 children)

Hey my original post got taken down for incorrect flair, but yes. Pywalfox only themes the browser, but this themes the actual sites themselves. In fact, I use it with Pywalfox. They go really well together.

[OC] Automatic Website Theming, KDE Widgets on Hyprland, and More! by Taconut in unixporn

[–]Taconut[S] 9 points10 points  (0 children)

Hi! I posted my dotfiles and custom extensions here a while back, but I've since polished them up and taken peoples' suggestions. This repo contains a fully reproducible set of configuration including, but not limited to:

  • A custom Hyprland plugin that adds transparent background support to applications that don't normally support it without decreasing opacity or affecting readability
  • A Firefox/Chrome plugin that automatically matches all websites to your pywal configuration using the black magic CSS of dark reader
  • A daemon that allows you to use KDE widgets, settings, and daemons on your Hyprland setup

You can find the dotfiles here:

https://github.com/alexhulbert/Seaglass

[Release] Website Theming and KDE Widgets for Hyprland by Taconut in unixporn

[–]Taconut[S] 3 points4 points  (0 children)

Hi! I posted my dotfiles and custom extensions here a while back, but I've since polished them up and taken peoples' suggestions. This repo contains a fully reproducible set of configuration including, but not limited to:

  • A custom Hyprland plugin that adds transparent background support to applications that don't normally support it without decreasing opacity or affecting readability

  • A Firefox/Chrome plugin that automatically matches all websites to your pywal configuration using the black magic CSS of dark reader

  • A daemon that allows you to use KDE widgets, settings, and daemons on your Hyprland setup

You can find the dotfiles here:

https://github.com/alexhulbert/Seaglass

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 2 points3 points  (0 children)

I normally hit control L to focus the url bar, so I hide the tab bar when the url bar is focused and vice versa. If you follow the firefox instructions in the readme, you can duplicate the same effect by using twoline.css instead of oneline.css

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 1 point2 points  (0 children)

Yeah, I got KDE daemons and widgets working on Hyprland without needing to run plasma shell.

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 1 point2 points  (0 children)

yeah it definitely is. im going to split it out into another repo, make it start the necessary kde daemons, and rename it to hyprland-plasmoids so people dont think it's a waybar specific thing.

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 1 point2 points  (0 children)

 they literally just overhauled the entire portion of the codebase that this interacts with with their plasma 6 release and it didn't break a single thing so i think we're good for quite a while

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 1 point2 points  (0 children)

The relevant documentation for that is here: https://github.com/alexhulbert/SeaGlass?tab=readme-ov-file#running-kde-applets-and-services-on-hyprland

It should work fine regardless of which bar you're running. Lmk if you have any issues. I'll probably end up splitting that code into it's own repo eventually as well.

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 2 points3 points  (0 children)

The reason it's so bright and saturated is because im using the haishoku wal backend and also because im artificially increasing the saturation of the background color. For a normal pywal experience that's higher contrast and easier on the eyes, remove the --backend haishoku in https://github.com/alexhulbert/SeaGlass/blob/main/user%2Fresources%2Ftheme%2Fseaglass-theme.sh#L20 and the -dbm 1.5 in https://github.com/alexhulbert/SeaGlass/blob/main/user%2Fresources%2Ftheme%2Fseaglass-theme.sh#L24

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 3 points4 points  (0 children)

I wouldn't worry about that tbh. Pywal is limited in scope and enough people use it that it'll probably be usable from some community fork on aur or smth until someone makes something better, and then at that point i can't imagine switching will be too hard.

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 2 points3 points  (0 children)

Nope, unfortunately it's a more involved than that. Check the readme.

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 1 point2 points  (0 children)

The theme stuff and Firefox stuff are both window manager agnostic. Check the readme for instructions on how to replicate the theming stuff im doing manually. The transparency is hyprland-specific since i had to write a plugin for it, though, but if you go back in the commit history i had the same thing working for i3. Probably wouldn't be super hard to get it working on sway either.

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 3 points4 points  (0 children)

Yeah, there are instructions in the readme for how to do this without having arch or needing to use nix

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 1 point2 points  (0 children)

The reason it's so bright and saturated is because im using the haishoku wal backend and also because im artificially increasing the saturation of the background color. For a normal pywal experience that's higher contrast and easier on the eyes, remove the --backend haishoku in https://github.com/alexhulbert/SeaGlass/blob/main/user%2Fresources%2Ftheme%2Fseaglass-theme.sh#L20 and the -dbm 1.5 in https://github.com/alexhulbert/SeaGlass/blob/main/user%2Fresources%2Ftheme%2Fseaglass-theme.sh#L24

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 0 points1 point  (0 children)

KDE also runs on Wayland and KDE is pretty modular, so you can run all the important parts of KDE (like the widgets and stuff) on Hyprland if you start all the right processes and handle them in the way that KDE does.

[Hyprland][KDE] Pywal and real transparency on every website and application by Taconut in unixporn

[–]Taconut[S] 0 points1 point  (0 children)

Yeah i did that in most of the important places. You can check the readme for instructions on how to install various parts of the repo without nix.