hikarin522 / GlassIt-VSC

VS Code Extension to set window to transparent on Windows platform.
https://marketplace.visualstudio.com/items?itemName=s-nlf-fh.glassit
MIT License
203 stars 21 forks source link

[Feature] Wayland / Sway support #43

Closed ckcr4lyf closed 1 year ago

ckcr4lyf commented 1 year ago

I use Sway (Compositor for Wayland) on Arch Linux. Since VS Code runs natively in Wayland, the given linux script using xprop etc. doesn't work.

Would you accept a PR adding support for sway?

RannyBergamotte commented 1 year ago

Any possibility of adding support for other WayLand composistors (eg. Kwin, Mutter, any WlRoots based compositors)? I am right now using both Kwin and Hyprland and neither seems to work with GlassIt after enabling the forcesway option.

ckcr4lyf commented 1 year ago

I am right now using both Kwin and Hyprland and neither seems to work with GlassIt after enabling the forcesway option.

@RannyBergamotte you could look into how your compositor supports opacity / transparency and then see if you can make it work, it might be different than how sway does it (e.g. sway has a command for it which can be sent via swaymsg)

luxluth commented 10 months ago

Any possibility of adding support for other WayLand composistors (eg. Kwin, Mutter, any WlRoots based compositors)? I am right now using both Kwin and Hyprland and neither seems to work with GlassIt after enabling the forcesway option.

On hyprland, it can be a window rule like windowrule=opacity .97 .85,^(Code)$