-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Infinite scroll through stack. #94
Comments
@br1ttle - if it's helpful, I wrote a small Python script for myself that might help - https://github.com/sendhil/yabai-stack-navigator. |
@br1ttle @sendhil I would recommend looking at skhd. All of the functionality of the stacks is provided by yabai, not stackline. If you want infinite scroll then using skhd will let you do this using the error codes that yabai will throw. Here is some skhd code demonstrating how I achieved this so that it works with the same shortcut. # go to previous stacked set or last one if at the top
lctrl + lalt - up: yabai -m window --focus stack.prev || yabai -m window --focus stack.last
# go to next stacked window or first one if at the bottom
lctrl + lalt - down: yabai -m window --focus stack.next || yabai -m window --focus stack.first Hope this helped (◉‿◉) |
I use:
|
I think having the option to enable infinite scroll in the conf.lua file would be great. The behaviour of this option would mean that running
yabai -m window --focus stack.next
on the bottom-most window in the stack would cause stackline to loop through to the first window in the stack. Similarly, runningstack.prev
on the first window should bring focus to the last window.Thank you for your work thus far @AdamWagner 😃 .
The text was updated successfully, but these errors were encountered: