Skip to content

Not really reactive using yabai -m window --insert stack #47

Closed

Description

@danielfalbo

I just installed stackline, I'm not sure if this is really an issue or I am doing something wrong.

In my skhdrc I have

ctrl + alt - i : yabai -m window --insert stack

, this is the main way I create stacks.

However, looks like hammerspoon does not update the stackline icons until I reload the config.

in

🤔

Activity

  1. AdamWagner commented on Nov 7, 2020

    @AdamWagner
    Owner

    @danielfalbo first, sorry for the slow response (have been taking stackline apart and putting it back together again in pursuit of testability).

    I was about to upload a GIF demonstrating that stackline does update when yabai -m window --insert stack is executed and a new window is created…

    … but during the "official take", it didn't work. So, at least I'm able to reproduce. For me, it's variable (sometimes it works, sometimes it doesn't).

    It's clear to me that it's less consistent than creating a new window and then executing yabai -m window south --stack $WIN_ID). I'm not sure why yet, but will look into it.

  2. added
    bug
    on Nov 7, 2020
  3. self-assigned this
    on Nov 7, 2020
  4. AdamWagner commented on Nov 29, 2020

    @AdamWagner
    Owner

    @danielfalbo unfortunately, I'm no longer able to reproduce this. I tried many different configurations, including traditionally "difficult" apps such as iTerm2 that constrain window size in discrete steps. See attached gif:

    Screenshot 2020-11-28 at 16 23 41

    Have you continued to observe that stackline doesn't update correctly when windows are directly inserted? If so, do you notice anything different about what I'm doing in the screen recording (activating insert mode with an skhd keybind, then typing cmd+n to create a new window for the active app, or launching a new app with Alfred) that could explain why I'm not able to reproduce the issue?

    Thanks for the help!

  5. added
    cant reproduce
    on Nov 29, 2020
  6. danielfalbo commented on Nov 29, 2020

    @danielfalbo
    Author

    With Big Sur now works fine on my machine too : ) Sometimes yabai freezes with no reason but that's a yabai issue, not a Stackline issue. Thank you for your time : )

  7. danielfalbo commented on Nov 29, 2020

    @danielfalbo
    Author

    By the way, beautiful ls tool! What do you use?

  8. AdamWagner commented on Dec 12, 2020

    @AdamWagner
    Owner

    @danielfalbo I use lsd - brew install lsd.

    Specifically I use this options: lsd --long --human-readable --timesort --almost-all --group-dirs first --blocks size,date,name --date relative --size short --color always

    function ls --description 'Custom ls'
      tput rmam # disable line wrapping
      lsd --long --human-readable --timesort --almost-all --group-dirs first --blocks size,date,name --date relative --size short --color always $argv;
      tput smam # enable line wrapping
    end
  9. danielfalbo commented on Dec 13, 2020

    @danielfalbo
    Author

    Thank you : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugcant reproduce

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions