SavvyBeardedFish, (edited )

Running: swaymsg for_window “[app_id=mpv] opacity 0.5”

Works as expected on my end, are you missing just executing for_window?

Note, you can also add multiple rules in the same execution, e.g.


<span style="color:#323232;">for_window {
</span><span style="color:#323232;">    [app_id=mpv] opacity 0.85
</span><span style="color:#323232;">    [app_id=LibreWolf] opacity 0.85
</span><span style="color:#323232;">}
</span>

Also, note that app_id of LibreWolf is capitalized in that manner. You can get that information [app_id, shell etc] by running swaymsg -t get_tree

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • fightinggames
  • All magazines