• 0 Posts
  • 26 Comments
Joined 2 years ago
cake
Cake day: August 11th, 2023

help-circle
  • In general it sounds like you want ‘tiling’. There are multiple window managers that does this, e.g. AwesomeWM, i3, Sway, River etc.

    Additionally you typically have ‘tiling scripts’ that work on top of Gnome and Kwin (Plasma), however unsure what the capabilities are there.

    I can atleast speak for Sway:

    Here you can can move/select the current focused window relative to whatever key strokes you prefer, the defaults are using Vim-bindings, but arrow keys are also pretty common.

    For grabbing a specific window (like in an ordered manner) is probably something that you would need to extend through scripting if the ‘basic’ movement isn’t enough.

    Note: A tiling window manager is quite different (in usage) from a stacking one (which is what one is mostly used to) tiling capabilities/scripts

















  • 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.

    for_window {
        [app_id=mpv] opacity 0.85
        [app_id=LibreWolf] opacity 0.85
    }
    

    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