ohitstom / spicetify-extensions

A repository for all my Spicetify extensions.
GNU General Public License v3.0
67 stars 2 forks source link

noControls.js not not working properly on macOS #22

Open Ender-Wang opened 2 months ago

Ender-Wang commented 2 months ago

Can still saw a bit of it, btw I am also using a snippet "Remove top spacing". CleanShot_2024-09-01_14-37-40

ohitstom commented 2 months ago

uhm to be honest i didnt even think this would work for macos, unfortunately all im doing is telling spotify to set it to 0 i cant fundamentally change the cef display stuff........ you could maybe try running this in console and seeing if it works?

await Spicetify.CosmosAsync.post("sp://messages/v1/container/control", {
type: "update_titlebar",
height: "0px"
});
Ender-Wang commented 2 months ago

uhm to be honest i didnt even think this would work for macos, unfortunately all im doing is telling spotify to set it to 0 i cant fundamentally change the cef display stuff........ you could maybe try running this in console and seeing if it works?

await Spicetify.CosmosAsync.post("sp://messages/v1/container/control", {
type: "update_titlebar",
height: "0px"
});

Tried that but unfortunately, it does not work, also tried 0.1px, not working lmao. seems only 1px works, the other values are just not changing the position of it at all. Anyway, I did the other way around that added a small padding to the top of the left side bar:

#Desktop_LeftSidebar_Id{
  padding-top: 40px;
}

CleanShot_2024-09-02_09-06-16