@bugaevc@floss.social avatar

bugaevc

@bugaevc@floss.social

Unix hacker. I do obscure and cursed things.

I hack on Darling, SerenityOS / Ladybird, GNU Hurd / glibc, wl-clipboard, Owl, etc.

I use GNOME, and contribute to freedesktop / GNOME projects sometimes (systemd, PipeWire, GLib, GTK, etc).

I like Rust and dislike Docker.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

tbernard, to random
@tbernard@mastodon.social avatar

Trying something for this app: https://flathub.org/apps/com.jeffser.Alpaca

Side note: the app works surprisingly well on my fairly old laptop, I'm kind of impressed.

bugaevc,
@bugaevc@floss.social avatar

@tbernard LLM? 😟

zhuowei, to random

Taylor Swift, known for showing vulnerability in her lyrics, announces that each of her songs will receive its own CVE

bugaevc,
@bugaevc@floss.social avatar

@zhuowei CVE-2024-3401 (Taylor's version)

bugaevc, to random
@bugaevc@floss.social avatar

Remember to hydrate, fellow humans 💧

bugaevc, to random
@bugaevc@floss.social avatar
nnethercote, to random

This video has 3 million views. It deserves more.

ENTIRE FREEBIRD SOLO PLAYED ON HARMONICA!!! (Lynyrd Skynyrd)

https://www.youtube.com/watch?v=UtXP2-5IC2E

bugaevc,
@bugaevc@floss.social avatar

@nnethercote I misread FREEBIRD as FREEBSD 😁

brooke, to random
@brooke@bikeshed.vibber.net avatar

cat /dev/zero | gzip > strategic_zero_reserve.gz

bugaevc,
@bugaevc@floss.social avatar

@brooke useless use of cat!

alice, to random

So, CSS variable support has landed in GTK, and libadwaita now uses it. Note that it's super basic for now, it's just replacements for the old @colors. There will be more drastic changes in 2.0, but for now I need to keep backwards compatibility.

So, apps can now override them per widget, like on the screenshot (well, once the sdk updates, anyway)

And because why not, there are a few changes that variables enabled:

.error, .warning and .success style classes now also change the accent color respectively. For example, this means that a selectable label with .error style class will have a red selection as well, instead of blue.

The .opaque style class for buttons has been deprecated - instead, apps can simply use .suggested-action and override the accent color on it (or add .error/.warning/.success - that works too). This will also change the focus ring, and similarly, .destructive-action buttons have red focus rings now.

Apps are encouraged to migrate, but the old colors will keep working until 2.0. For example, @accent_color can be replaced with var(--accent-color) and so on, note the dashes in the names instead of underscores. See the docs for more info: https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/css-variables.html

bugaevc,
@bugaevc@floss.social avatar

@alice I'm guessing there's no public API to get a color variable's value for a widget programmatically, is there? Basically I'd want something like the existing Widget::get_color, but with a name argument.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • InstantRegret
  • magazineikmin
  • Durango
  • ethstaker
  • everett
  • osvaldo12
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • ngwrru68w68
  • JUstTest
  • rosin
  • tester
  • GTA5RPClips
  • modclub
  • tacticalgear
  • cubers
  • mdbf
  • cisconetworking
  • megavids
  • Leos
  • anitta
  • normalnudes
  • lostlight
  • All magazines