On Ubuntu (and probably other distros as well) it’s as easy as going to Settings>Accessibility>Reduce animations and then turning it ON. This seems to apply to most applications, like firefox, discord and spotify.

Is there any way to do this on swaywm? I thought maybe it could be set with an environment variable, but couldn’t find any. My linux knowledge ain’t the best.

This is my system: https://imgur.com/MhJe9qg

  • ozymandias117@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    That toggle in Gnome only affects the Gnome shell

    An equivalent is running this in the terminal

    gsettings set org.gnome.desktop.interface enable-animations false

    • Toralv@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Damn you’re right. I may or may not have been brushing off anything related to gnome, since I thought it wouldn’t apply to me… Well that was ignorant of me.

      While this doesn’t seem to apply for spotify, steam or discord, after rechecking on my laptop with Ubuntu, neither did it there… (so my description is a little off). I guess that’s because of the applications not running wayland natively? I actually don’t really know though.

      I know in Windows there is an option to turn off all animations, and it really did that for EVERYTHING, so I guess I’m after something like that, but there probably isn’t such an option.

      • ozymandias117@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        You would want to search for some environment variable for “GTK” and “QT”

        Those are the primary toolkits used for UIs, and are used by Electron which Spotify and Discord probably use

        I’m not sure if it exists or not, though

    • madeindjs@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      It can also disable animation in the web browser. Some website can see this setting and disable some stuffs.

  • ayushnix@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Umm, I can’t recall ever seeing any animations in swaywm. You’re sure you’re using sway and seeing animations in it?

    • Toralv@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Maybe I phrased it badly in my post. Of course swaywm in itself doesn’t have any animations, but since I don’t have a desktop environment like gnome or kde, I thought people would understand if I said that I use swaywm. Sorry