百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

ShojiWM

> 编程语言
开源

最具可定制性的 Wayland 合成器,配备 TypeScript(tsx)。

544 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

最具可定制性的 Wayland 合成器,配备 TypeScript(tsx)。

Documents

  • English
  • 日本語

Quick Start

Source installs are documented in the getting started guide. Experimental NixOS support is also available:

bash
nix develop
cargo run --release -p shoji_wm -- --dev

For NixOS module installation, see the installation docs.

Features

  • Window management
  • Animations
  • Screenshots and screen sharing via xdg-desktop-portal-shojiwm
  • XWayland support via xwayland-satellite
  • Custom shaders
  • Layer shell support
  • Multi-monitor support
  • Intel, AMD, and NVIDIA GPU support

Why not Niri or Hyprland?

Niri and Hyprland are, at their core, software that bundles a window manager and a compositor together.

ShojiWM is different. It provides only the compositor, plus window-manager functionality as a default config.

In other words, the window-manager part is something you can program entirely and freely yourself. That is exactly why it bills itself as "The most customizable Wayland compositor with TypeScript (tsx)."

Here is an example. The code below implements a window's close button. When you run it, the button's composition changes reactively on hover, so its appearance updates.

typescript
const CloseButton = ({ window }: { window: WaylandWindow }) => {
  const [hover, setHover] = useState(false);

  const borderColor = hover((hover) => (hover ? "#00000000" : "#F0808030"));

  var icon: CompositionRenderable | null = null;
  if (hover()) {
    icon = (
      
    );
  }

  return (
    
      
      {icon}
    
  );
};

How ShojiWM compares

How ShojiWM differs from two popular Wayland compositors, Niri and Hyprland.

Legend: ✅ Yes / built-in  ·  Partial / limited  ·  ❌ No

Capability Niri Hyprland ShojiWM
Server-side decoration (SSD) customization via a standard API ❌ ❌ ✅
Build your own window-management strategy in TypeScript ❌ 1 ✅
Powerful custom shader pipeline API 2 3 ✅
Linux gaming support, including tearing 4 ✅ ✅
First-class xwayland-satellite support ✅ ❌ ✅

1 Hyprland 0.55+ adds custom layouts and event scripting via Lua (not TypeScript); core WM behavior remains built-in.

2 Custom GLSL is limited to window open/close/resize animations.

3 A single full-screen screen shader, not a per-element pipeline.

4 Niri supports VRR (adaptive sync), but not a tearing / immediate-flip mode.

Comparison reflects each project at the time of writing; corrections are welcome.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustsmithaytsxtypescriptwayland

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言