Skip to content
KsmBlPublic

About

Wayland compositor with a sway-compatible tile mode and a Windows-like window mode: 15 themes from Windows 1 to 11, the Atari ST, a Starship Console and modernCC; a themable taskbar with widgets, flyouts and live charts; app popups, a Wi-Fi radar, automatic kernel updates with live fixes, a settings app and session restore

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

543 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tileWin

tileWin is a Wayland compositor with two modes you can switch between at any time:

  • Tile mode: behaves like sway and is configured with the same syntax. Your sway config works here.
  • Window mode: behaves like Windows:
    • floating windows with themed title bars and minimize/maximize/close buttons
    • drag-to-edge snapping, Alt+Tab and Windows keyboard shortcuts

It comes with tilewin-panel, a lightweight taskbar with widgets, custom script widgets, right-click menus and a start menu. There are fifteen built-in themes, from Windows 1 to Windows 11, the Atari ST, the science-fiction Starship Console, sway and the experimental modernCC, built around a Command Center. They style window decorations, taskbar, start menu, menus and wallpaper, and switch live.

tileWin is built on sway 1.12 and wlroots 0.20. The compositor and taskbar are written in C without GTK/Qt and use no CPU when idle; only the optional settings app uses GTK4 and runs only while it is open.

Screenshots

Window mode with the Windows 10 theme: floating windows with title bars, the taskbar with tray and clock, desktop icons, and the settings app.

Window mode

Start menu Task view (Super+Tab)
Start menu Task view

Tile mode is sway: the same layouts, the same config, with the theme's tile colors and a status bar.

Tile mode

Search finds apps, settings, files and sums. Super+/ lists the keys of the mode you are in, and a new user is greeted with a theme to pick:

Search Keyboard shortcuts (Super+/)
Search in the start menu The list of keyboard shortcuts
First start The login screen
The welcome window The login screen of the display manager
Quick settings with the keyboard
A ring on a button of the quick settings

Every theme brings its own title bars, taskbar, start menu and wallpaper:

Windows 1 Atari ST, its menu bar along the top
Windows 1 Atari ST
Windows 3 Starship Console, bars and elbows of colour on black, with a moving wallpaper
Windows 3 Starship Console
Windows 95 Windows 2000
Windows 95 Windows 2000
Windows XP Windows XP (dark)
Windows XP Windows XP (dark)
Windows Vista Windows 7
Windows Vista Windows 7
Windows 8, its start screen of colored tiles over the whole screen Windows 11
Windows 8 start screen Windows 11
modernCC (experimental), the Command Center open modernCC (dark)
modernCC modernCC dark

Windows 10 is the window mode screenshot at the top.

New lately:

An app popup: mail on its shortcut, at the right, over the darkened rest The Wi-Fi radar, connecting to a saved network, and in the Starship Console
An app popup The Wi-Fi radar widget
AI agent usage: the last 5-hour windows and the week, with the reading under the pointer Kernel updates making the live fixes of a new release, and how far they are
The charts of Claude Code usage The kernel updates widget making live fixes
Workspaces: a window dragged from one desktop to another, as on KDE AI agent usage of Codex: the same charts, from the session logs Codex writes itself
A window dragged in the workspaces widget The charts of Codex usage

What it has

  • Two modes, switched live with Super+Shift+W: tile mode is sway, window mode is Windows. Your windows keep running.
  • Window mode like Windows: title bars with their buttons, snapping to edges and corners, Snap Layouts, Alt+Tab, Task view with virtual desktops, the window menu and animations. A window chosen with Alt+Tab or the taskbar comes over one that is full screen, which stays so behind it, and the windows of browser extensions or copy progress get a taskbar button of their own.
  • A taskbar with a start menu, window previews, tray, clock and calendar, quick settings, notifications, and widgets from CPU and network charts to the weather of your own script. Its flyouts work from the keyboard, and it stays sharp on screens at 125% or 150%.
  • Search in the start menu and the launcher: apps, settings pages (dark mode, wifi), files and folders in your home, and sums (6*7).
  • Help when you need it: a welcome at the first start, Super+/ for the keys of the current mode, and a word on how to get back after switching the mode.
  • The Command Center (modernCC, experimental): one place to start anything, opened by Super. It finds apps, open windows, actions, settings pages, files and sums as you type, ranks them by how well they match and how often you use them, and offers what else can be done with the chosen row (Tab, Alt+1 to Alt+3). >, @ and # keep to actions, windows or settings: docs/moderncc.md.
  • A desktop with icons, and widgets as clocks, charts and gauges.
  • 15 themes, Windows 1 to Windows 11, the Atari ST, Starship Console, sway and modernCC, each with its own title bars, taskbar, start menu and wallpaper, light or dark, on a schedule if you like, the accent color taken from the wallpaper if you like.
  • Little helpers: clipboard history, a snipping tool that also reads text, an emoji picker, sticky notes, screen savers, night light and a lock screen.
  • Login pages of public Wi-Fi accepted by themselves: the terms ticked, not the newsletter, and the right button pressed, also on pages made by scripts (with Chromium); a page that wants your email or room number opens for you instead.
  • Fingerprint on the lock screen, as Windows Hello does it, the fingers added and removed in the settings.
  • Message dialogs of GTK 3 apps ("Save changes?") in the look of the theme.
  • Brightness and volume up to 130%, a battery chart of the last 24 hours, and a limit on the clock of each processor core.
  • AI agent usage on the taskbar and the desktop: the 5-hour and weekly limits of your accounts of Claude Code, Codex, Copilot and Antigravity, the ones you tick in its settings, with charts of the last windows and the week, what runs on this computer and what was used elsewhere; never from their logins unless you let it ask them.
  • Quick web: a shortcut opens a field where a single key types a whole word of a web address you gave it (g for github.com/, then k for ksmbl/), and Enter opens it.
  • App popups: any app on a shortcut of its own, without a frame, at the place and size you pick over a darkened screen, for example Thunderbird as high as the screen on the right; the shortcut again or a click beside it hides it, still running. Made on the App popups page of the settings: docs/usage.md.
  • Charts that answer the pointer everywhere (CPU, memory, battery, network, AI agent usage, the desktop's charts), and windows dragged between desktops in the workspaces widget, as on KDE.
  • A Wi-Fi radar on the desktop or the taskbar, in every theme: the networks in reach go round on a radar, the stronger the nearer the middle, with the Bluetooth devices as diamonds; the pointer on one shows its signal, security and band, a click connects to it and a right click opens its menu.
  • System updates on the taskbar: how many there are, installed with a click and the password, with a bar of how far it is and a notification when they are done; the package cache cleaned up with a click or every week.
  • Open ports on the taskbar and the desktop: every port a program listens on, and whether it is only for this computer, a local network or public; switched on in the network settings, a program that opens a port to the network is asked about first, once.
  • DNS of its own: the fastest servers, a cache, prefetching and block lists as on a Pi-hole.
  • Device manager as on Windows: every device by kind, its driver and whether it works, disable, enable or restart it.
  • Kernels built for this computer from kernel.org, with or without live patching, added to the boot menu, loaded with kexec or booted into once, without touching the boot loader's own setup; with automatic updates, security fixes applied live without a restart and each new release built in the background for the next one, shown by the Kernel updates widget.
  • A settings app for all of it, so no config file has to be touched. What fails says so in a banner, with a way to try again.
  • A display manager of its own, tilewin-display-manager: a login screen that looks as that Windows did for each theme, up in a blink, with about fifty settings. It stays off until you turn it on: docs/display-manager.md.
  • Updates in one step: tilewin-update or the About page bring in the newest release or build the newest source, then restart tileWin with your windows open.
  • Light: written in C, no CPU use while nothing happens.

Every feature in detail: docs/features.md.

Installation

On Arch Linux, as a package:

git clone https://github.com/KsmBl/tileWin.git
cd tileWin/packaging/aur
makepkg -si

Everywhere else:

git clone https://github.com/KsmBl/tileWin.git
cd tileWin
./install.sh              # installs dependencies (pacman/apt/dnf), builds and installs to /usr/local

On Debian 13, which has wlroots 0.18, ./install.sh builds wlroots 0.20 along with tileWin, with the newer wayland, wayland-protocols, libdrm, libxkbcommon and pixman it needs, from subprojects/ (downloaded on the first run). They are linked into tileWin's programs and not installed, so nothing of the system is replaced. The lock screen and the login screen get PAM services that include Debian's common-auth and the other common-*.

Besides the build dependencies it installs brightnessctl on a computer with a backlight and, when no sound server that speaks PulseAudio is there, PipeWire with its PulseAudio part and WirePlumber, and starts it.

Options:

Option Effect
--prefix <dir> Installation prefix (default /usr/local)
--no-deps Skip installing dependencies
--debug Debug build instead of the optimized LTO release build
--destdir <dir> Stage the install into a directory (packaging)
--no-user-config Don't create ~/.config/tileWin
--uninstall Remove the installation

The installer:

  • creates ~/.config/tileWin/ with the default config files if they don't exist yet
  • registers the tileWin session for display managers

Start tileWin:

  • choose "tileWin" in your display manager (GDM, SDDM, ly, greetd, ...), or
  • run tilewin-session from a text console.

Dependencies:

  • Required: wlroots 0.20 (built along with tileWin where the system has none), wayland, wayland-protocols, libinput, libxkbcommon, libevdev, pixman, libdrm, cairo, pango, gdk-pixbuf2, librsvg, json-c, pcre2, xcb-util-wm, Xwayland, systemd-libs (sd-bus, for the tray), libcurl (DNS over HTTPS), meson and ninja. tilewin-update also uses curl, and git for the source.
  • Optional: pam (the lock screen and the display manager are skipped without it), polkit (the password prompt for apps that need an administrator is skipped without it), gtk4 (the settings app is skipped without it), grim, slurp and wl-clipboard (screenshots and the snipping tool), tesseract with its language data (copying text from the screen), pavucontrol/pactl (volume widget), xfce4-terminal (the default terminal in the configs; any file manager that is installed is used, Thunar, Nautilus, Dolphin and the others, and install.sh installs none), swaylock.

To update:

tilewin-update           # asks which way
tilewin-update release   # the newest release from GitHub
tilewin-update source    # the newest source, built in a temporary folder that is deleted afterwards

The Updates group of the About page in the settings does the same. tileWin is restarted after a good update. The Arch package is updated by building it again instead. The restart keeps your windows open; an updated compositor itself starts with your next login (or now, with tilewinmsg restart relaunch-apps).

Shortcuts of window mode

Keys Action
Super (tap) / Ctrl+Esc Start menu
Super+R Run dialog
Super+S Application launcher
Super+I tileWin Settings
Super+E File manager
Super+Return Terminal
Super+D, Super+M Show desktop
Super+L Lock
Super+← / → Snap the window to the left or right half; pressing the other way unsnaps it again
Super+↑ / ↓ Up maximizes, or lifts a half to the quarter above it; down takes that back, restores a snapped window and minimizes one that is not snapped
Alt+Tab, Alt+Shift+Tab Switch windows (release Alt to confirm, Esc to cancel)
Super+Tab Task view: windows and desktops; drag windows onto another or a new desktop
Super+Ctrl+D, Super+Ctrl+F4 New desktop, close the current desktop
Super+Alt+← / → Move the current desktop left / right in the order
Alt+F4 Close window; on the desktop (or with no window open) the shut down dialog
Alt+Space Window menu
Ctrl+Shift+Esc Task manager
Super+1..9 Activate the n-th taskbar entry
Super+Ctrl+← / → Previous / next virtual desktop
Super+Ctrl+Shift+← / → Move window to previous / next desktop
Super+Shift+← / → / ↑ / ↓ Move window to the monitor beside, above or below
Print Screenshot of all screens to the clipboard and ~/Pictures/Screenshots
Win+Shift+S Snipping tool: rectangle, window or full screen to the clipboard, or Text: the text in a rectangle, read with tesseract (in English and the session's language when its data is installed)
Super+/, Super+F1 The keyboard shortcuts of this mode
Super+Shift+W Switch to tile mode
Super+Shift+C Reload config
Super+Shift+Ctrl+R Restart tileWin
Super+Shift+Ctrl+P Restart the taskbar
Ctrl+Alt+Del Shut down dialog: shut down, restart, sleep, hibernate, hybrid sleep, lock or log out
Win+Page Up / Win+Page Down Maximize / minimize the window
Win+A / Win+N Quick settings / notifications (Action Center)
Win+V Clipboard history
Win+. or Win+; Emoji picker
Three fingers up / down on the touchpad Task view / show the desktop
Three fingers left / right on the touchpad Next / previous desktop
Swipe in from the left / right edge of a touchscreen Task view / notifications
Tap / hold a finger still on a touchscreen Click / right-click (in menus and lists, a finger moved up or down scrolls)

Tile mode uses sway's default bindings ($mod = Super, $mod+d opens the launcher) plus Super+Shift+W to switch mode, Super+/ for the list of keys, Super+Shift+Ctrl+R to restart, the three finger swipes (up: task view, left / right: workspaces) and the touchscreen edge swipes.

Themes

Pick one in the settings app, from the taskbar menu, or:

tilewin-theme list
tilewin-theme set winxp

Window mode and tile mode each remember their own theme.

More

Limitations

  • Session restore starts apps again from their command line: terminals come back in their last directory but not with their running programs or scrollback, and documents or tabs only come back if the app restores them itself. Tile mode restores workspaces but not the split layout.
  • Microsoft fonts, icons and logos are not included; themes use font fallback lists, drawn glyphs and original look-alike icons.
  • There is no background blur, so the Windows 7 glass is translucent only.
  • Windows 11 rounds only the frame and title bar; window contents keep square corners.
  • Apps that draw their own title bars (GTK4/libadwaita) keep them in window mode.
  • Starting a new compositor binary closes running Wayland apps, so restart leaves that to the next login (restart relaunch-apps does it now and starts the apps again).

License

MIT. tileWin is based on sway (MIT, Copyright © 2016-2024 Drew DeVault and contributors).

About

Wayland compositor with a sway-compatible tile mode and a Windows-like window mode: 15 themes from Windows 1 to 11, the Atari ST, a Starship Console and modernCC; a themable taskbar with widgets, flyouts and live charts; app popups, a Wi-Fi radar, automatic kernel updates with live fixes, a settings app and session restore

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages