Comments (9)
@Liquidmantis I was in the same position as you. I'm guessing this TODO is relevant to us:
stackline/stackline/stackline.lua
Lines 81 to 86 in 71dc951
For myself, I fixed it by updating my init.lua
to include this:
hs.timer.waitUntil(function()
return stackline.manager
end, function()
stackline.manager:toggleIcons()
end, 0.1)
from stackline.
It fixed it for me indeed.
from stackline.
Ah, I found my problem by looking more closely at the stack trace. I had stackline.manager:toggleIcons()
in my init.lua and commenting that out resolves the issue. I'm still digging around to figure out why that broke with the recent changes, though.
[Edit] maybe it's a race condition? Once things are loaded I can run that command in the Hammerspoon console and it toggles the icons as expected.
from stackline.
I just updated Stackline and get similar wfilter errors. I too have Yabai HEAD installed, but with the scripting additions, and had Stackline working until I updated just now.
from stackline.
Looks like this is from the hs.filter changes in 71dc951. If I checkout 4791ca1, which is where I think I was prior to updating, things work again. Checking out 71dc951 introduces the errors, though.
from stackline.
Hi @Liquidmantis @CyrilPeponnet
I'm sorry.
I'm new at this, and don't know how to "release" breaking updates. Maybe a pinned issue describing the changes?
Please update your init.lua
file:
FROM:
local stackline = require "stackline.stackline.core"
or
local stackline = require "stackline.stackline.stackline"
TO:
stackline = require "stackline.stackline.stackline"
from stackline.
No worries, it works :p thanks for that.
from stackline.
@AdamWagner I had already switched to the global variable, unfortunately.
https://github.com/Liquidmantis/dotfiles/blob/master/hammerspoon/init.lua
@CyrilPeponnet this fixed it for you then?
from stackline.
You nailed it @acmcelwee. Thanks for helping out!
It sounds like completing that TODO would be a good thing to focus on next. #33
from stackline.
Related Issues (20)
- Stackline shows over windows HOT 1
- How do you move the icons to the top right corner?
- Multiple displays (monitors) issues HOT 4
- Not able to make stackline work for yabai HOT 2
- Indicator for the right stack is not visible HOT 1
- Trick — Trigger refreshes using `yabai -m signal` HOT 3
- Rewrite in a performant language e.g. Golang HOT 5
- Appearance configuration per display when using a display in portrait and one in landscape orientation
- Trick — Reduce redraw lag when switching spaces
- Stackline not showing up HOT 1
- Add guide to install it for yabai
- Unable to launch hs.task process HOT 2
- :w:wi
- Issue enabling stackline HOT 1
- Swift implementation
- [Bug] Stackline is not showing Icons on Stack mode HOT 5
- LICENSE file missing
- Merge init() configuration table with default configuration
- Please ignore this issue
- Auto-switch from pill to icon on hover? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stackline.