• Victor@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    12 小时前

    Much appreciated! I’ll use this as a sort of reference while I’m combing through the Waybar wiki and configuring my own. 😊👍

    One thing I’m eager to get working is to somehow animate switching workspaces. I have my workspaces looking like little pills right now. Small, round circles. But I want the selected workspace to kind of expand and stretch into an elongated pill upon being selected.

    Would you happen to know if this is at all possible or is it not worth attempting because it wouldn’t be supported?

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        4 小时前

        Ah okay, that’s a shame. Thanks for your above and beyond effort in answering my question! 😄❤️

    • myxi@toast.oooOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 小时前

      Waybar uses GTK stylesheets for the theming. In theory, GTK CSS does have support for transitions and animations, which could be used in your case. But I’d say it’s a hard sell still. That aside I’ve never tried them in GTK, so I wouldn’t know if they even work in practice or how far.

      I think you have a shot at this with eww instead. But it’s harder to work with and you’ll need to make somewhat complex scripts I’d imagine.

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        4 小时前

        I think you have a shot at this with eww […] it’s harder to work with

        Uh huh! 😆 I was running i3 for like a decade before very recently, and a couple of years ago I got tired of the limitations of polybar and I basically rewrote all of its functionality and the modules and behavior I wanted beyond that, in eww widgets. Took me a few months to get everything the way I wanted to have it, with rich media control widgets and weather widgets and i3 workspace control and styling and, and, and.

        It was super possible! But it was clunky for sure. Lots of supporting scripts and lots of strongly coupled integration of those scripts and manually refreshing eww state data in my i3 config bindings.

        I’ve been eyeing Aylur’s Astral widget system as well, but I’m a little hesitant that it’ll be more of the same—configuration by programming (which is fine), with big gains in functionality, but with little gain in terms of appearance.

        • myxi@toast.oooOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 小时前

          Yesterday I heard of https://quickshell.outfoxxed.me/ but have never tried it myself. They have some pretty decent examples of widgets on their homepage. I think they have their own little langauge called QML which appears to be turing-complete.

          Maybe that’s what you’re missing.