Comments (13)
Probably because it is not properly contained in the event payload for the space_windows_change event, you can check what is sent through this event when inserting echo "$INFO"
here:
And then running sketchybar from the commandline. See if whatsapp is contained in the apps key for the space where it is opened.
from dotfiles.
This is the output I get when running sketchy bar from command line after inserting echo "$INFO$"
.
Kind of confused cause this does not seem faulty right?
from dotfiles.
That looks good so far, try inserting echo "$app"
above this line:
from dotfiles.
Also seems fine I guess.
from dotfiles.
So the problem must be in the icon_map file, you could try to copy and paste the output from this command 1:1 into to icon_map file as the key to the whatsapp icon, maybe it is because of some unicode shenanigans.
from dotfiles.
Too bad, that does also not seem to cause the problem. Pasted the output 1:1.
from dotfiles.
This is wild, will try to look into it because I am also a bit puzzled :D
from dotfiles.
Yeah, really weird. Bet its something stupid :D
Tanks a lot for looking into it 🙏
from dotfiles.
Ok so it turns out that whatsapp includes the byte sequence e2 80 8e
as the leading bytes in their app name, this is the unicode character U+200E and is an invisible control character that indicates that this word shall be printed left to right in all languages, even if they are right to left.... the fix is to include this invisible control character in the icon map.
from dotfiles.
You need to update the font, because it contains new icons for the terminals:
curl -L https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v1.0.23/sketchybar-app-font.ttf -o $HOME/Library/Fonts/sketchybar-app-font.ttf
from dotfiles.
that's what I've realised also xD
But there's still a problem. I guess the key is wrong because in icon_map.sh
it says "iTerm"
and not "iTerm2"
.
from dotfiles.
Oh that might be a regression introduced here:
kvndrsslr/sketchybar-app-font#38
You could report that there so it geta fixed upstream as well
from dotfiles.
yup, just did
from dotfiles.
Related Issues (20)
- Windows blurred? HOT 2
- [sketchybar] `brew services start sketchybar` without any effect when click the `volume` or `timezome` and so on HOT 7
- SketchyBar CPU helper memory increase HOT 4
- Memory leak or increasing buffer in cpu.h HOT 4
- How to fix the issue for Regex after I run sketchybar? HOT 2
- Windows are not equal + pop-up
- Payload (0x0) error HOT 6
- Opacity doesn't work
- Sketchybar Persists in Fullscreen HOT 2
- Config features not working HOT 2
- Unknown apps logo HOT 1
- Failing to install fyabai *sorry* HOT 11
- CapsLock Remapped HOT 3
- Sbarlua not installing
- Feature request: Could be cool to add a way to click on a button to reveal the other side of the menu bar, just like you did with the left side of the menu bar. HOT 1
- cant install SbarLua? HOT 2
- brew install lua installs to Celler and not Share or lib HOT 1
- Any plans to rewrite svim in lua version?
- Can't create new space HOT 2
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 dotfiles.