Skip to content
项目

关于

适用于 Windows 10 和 11 的轻量级浮动 Dock 和任务栏替代品,设计灵感来自 macOS。

其他项目

这些数字如何统计

可以做什么

  • See what's open. Hover over an app icon to see its open windows. Click a window to switch to it, or use the × on its preview to close it.
  • Keep your apps handy. Drag an app onto the dock to pin it. Move icons around, put related apps in a group, or make a folder stack. Drag an icon off the dock to unpin it.
  • Reach Windows controls. Start, Search, Task View and the Recycle Bin have their own buttons. Give the Start, Search and Task View icons their own colors, or leave them matching your theme. The Recycle Bin is the same size as your app icons and magnifies and animates like them. Right-click an app to see its Windows Jump List (pinned tasks and recent files).
  • Hide it when you want. Choose to keep it always visible, hide it when a window covers it, or hide it until you move your mouse to its edge. It also gets out of the way for fullscreen games and videos.

实测星标增长

24小时
+7
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

OpenTaskbar

OpenTaskbar — A dock for Windows, like the one on macOS.

Platform Runtime Architecture License Tests

OpenTaskbar on the desktop The floating dock

OpenTaskbar replaces the Windows taskbar with a floating row of app icons. Hover over an icon and it grows; click it and the app opens. It works on Windows 10 and 11. Use the MSI installer to put it in whichever folder you want, or just run the portable EXE — neither option needs administrator rights.

What you can do with it

  • See what's open. Hover over an app icon to see its open windows. Click a window to switch to it, or use the × on its preview to close it.
  • Keep your apps handy. Drag an app onto the dock to pin it. Move icons around, put related apps in a group, or make a folder stack. Drag an icon off the dock to unpin it.
  • Reach Windows controls. Start, Search, Task View and the Recycle Bin have their own buttons. Give the Start, Search and Task View icons their own colors, or leave them matching your theme. The Recycle Bin is the same size as your app icons and magnifies and animates like them. Right-click an app to see its Windows Jump List (pinned tasks and recent files).
  • Hide it when you want. Choose to keep it always visible, hide it when a window covers it, or hide it until you move your mouse to its edge. It also gets out of the way for fullscreen games and videos.
  • Make it look like yours. Move it to the bottom, left or right of your screen; change its size, corners and see-through look; pick one of six color themes or add your own. Make the dock much smaller or larger, size its icons separately and pull them closer together — see Customize your dock. You can even change the app icons — see Themes.
  • Animate your icons. Tune how much icons magnify, and choose what happens when you point at, open, restore or close an app, or when an app needs attention.
  • See useful things at a glance. 23 built-in widgets appear in the catalog, including clock & date, weather, day progress, stopwatch, countdown, system stats, net speed, battery, Bluetooth battery, storage, seven AI quota providers, media, audio, quick settings, keyboard layout, focus, and screenshot. Folder Stacks and App Groups are dock-only helpers; Show Desktop is a shell action. You can also add custom widgets, which are loaded dynamically. Turn on Compact AI usage to shrink each AI quota to its logo and what is left of the 5 hour limit; point at one to expand it.
  • Use your whole screen. With the dock at the bottom, maximized windows end right at its top, even when the dock is shorter than the Windows taskbar, and follow it when you resize it.
  • Use every screen. Have a dock on each monitor, or use the optional strip at the top of the screen.
  • Never lose your taskbar. If OpenTaskbar closes or crashes, the normal Windows taskbar comes back by itself. You can also restore it any time with OpenTaskbar.exe --restore.
Dock settings Themes
Dock settings Theme gallery

Customize your dock

Changes apply while the dock is running.

Setting Where What you can choose
Dock size Settings → Dock Extra small, Small, Compact, Medium, Large or Extra large
Taskbar scale Settings → Dock 50% to 150% of the chosen size, in 1% steps. Docks thinner than the standard one shrink widgets, spacing and indicators along with them
Icon size Settings → Dock 70% to 120%, without changing the size of the dock
Icon spacing Settings → Dock Down to -16 px, which brings icons closer without letting them touch
Compact AI usage Settings → Dock Collapses AI quota widgets until you point at them. Off by default
Start, Search and Task View colors Settings → Dock, under Start Button & Mouse Any color. × or Reset goes back to Auto, which follows your theme
Hover magnification Settings → Animations Magnified size (up to 200%), spread to nearby icons, speed and lift
Click press Settings → Animations How far an icon presses in, or not at all
Mouse-over, launch, window restore and attention effects Settings → Animations None, hop, bounce, pulse, swing, spin, jelly, shake or blink, each with strength, duration and repeat. A mouse-over effect can also repeat while you hover
New and closing icon effects Settings → Animations New icons can grow and rise, fade, pop or spin; closing icons can shrink and fade, fade, drop or spin. Either can be turned off
Genie window transition Settings → Animations Optional window animation when minimizing from the dock. A recent Genie minimize can also animate the same window back. Windows handles the action normally when there is no usable frame

The Settings window itself has a flat, neutral look: small corners, grey focus and selection colors, and themes listed with samples of their colors.

Mouse shortcuts

Do this It does
Shift + mouse wheel over the dock Scroll sideways through icons
Ctrl + mouse wheel over the dock Scroll sideways, more precisely
Middle mouse button + drag Move through icons that don't fit
Alt + F4 Close a window preview
Esc Close an open menu or popup

Get it running

  1. Go to GitHub Releases and download the MSI installer: OpenTaskbar-v0.3.5-stable-win-x64.msi (most PCs) or OpenTaskbar-v0.3.5-stable-win-x86.msi (32-bit Windows).
  2. Double-click it and pick any folder you like on the Destination Folder page. It installs for your user only, adds a Start Menu shortcut, and can be removed from Settings → Apps. No admin rights or extra software needed.

Prefer not to install anything? Download OpenTaskbar-v0.3.5-stable-win-x64.exe (or the x86 build) instead and double-click it — it runs from wherever you put it. The portable build checks for new versions itself. Releases also include a ZIP, checksums and release notes.

You need Windows 10 (version 2004 or newer) or Windows 11. See Installing for language transforms, silent deployment and package-manager notes.

To change the language or the look, open Settings → Appearance. There are 14 languages; see Languages.

Privacy and license

OpenTaskbar doesn't collect anything about you. The portable build checks for updates by default; turn that off in Settings if you don't want the check. Otherwise it only goes online when you turn on a feature that needs it, such as weather, and your credentials stay on your computer. See PRIVACY.md. It's free under the MIT license — see LICENSE.

Technical details (for developers)

Version v0.3.5-dev (development channel; stable releases ship as vX.Y.Z-stable). The repository root is a Cargo workspace; run all commands below from there.

Build and check it

git clone https://github.com/alztrk/opentaskbar.git
cd opentaskbar

cargo run --bin OpenTaskBar                 # start the dock
cargo run --bin OpenTaskBar -- --settings   # open Settings only

# Dev and test builds keep only line tables for workspace crates and no debug
# info for dependencies (see `[profile.dev]`). For a full debugger session use:
cargo build --profile debugging              # output: artifacts/cargo/debugging/

# Same gates as CI
cargo check --workspace
cargo fmt --all -- --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace

cargo xtask gate locale
cargo xtask gate version

Building needs Rust 1.95+ (edition 2024, MSVC on Windows) and WiX 5.0.2 / Windows SDK for installers. Generated build and package files are kept under artifacts/: Cargo intermediates in artifacts/cargo/, portable and versioned release files in artifacts/release/, MSI packages in artifacts/msi-rust/, and MSIX work and packages in artifacts/msix-rust/.

cargo xtask release --help
cargo xtask release doctor
cargo xtask release tag
cargo xtask release all --install-tool --dry-run
cargo xtask release all --install-tool

# Individual operations (build the portable payload before MSI/MSIX).
cargo xtask release build --arch x64
cargo xtask release msi --arch x64 --install-tool
cargo xtask release msix --arch x64
cargo xtask release package
cargo xtask release manifests
cargo xtask release verify --complete
cargo xtask release validate-manifests
cargo xtask release clean --dry-run
# cargo xtask release clean --yes  # removes release outputs, not Cargo cache

# Cargo target size and stale-profile cleanup (dry-run unless --yes).
cargo xtask target status
cargo xtask target clean --dry-run

Development releases automatically use vX.Y.Z-<8-character Git HEAD SHA> (for example v0.3.5-0123abcd); stable releases retain vX.Y.Z-stable. The workspace uses X.Y.Z-dev or X.Y.Z-stable; older dev.N tags remain accepted for compatibility. The Release workflow accepts an empty tag input. Explicit tags must match the numeric workspace version, channel, MSIX identity and, for commit tags, Git HEAD. No source version is automatically incremented. The shipped app embeds the release tag and compares same-base development updates by GitHub publication time, not SHA order. Windows paths are normalized for external packaging tools; UPX operates on a relative staging filename and verifies the packed executable before promotion. The native release CLI fails fast and writes outputs under artifacts/. Both architectures are built by all. MSI includes 13 language transforms per architecture; MSIX remains unsigned for Microsoft Store submission. Portable EXEs and MSI installers are unsigned. The manifest generator derives package-manager hashes from verified release checksums. Publication is still an owner-authorized GitHub Actions operation; the CLI does not publish releases. Git is located automatically from PATH, the Git for Windows registry, standard installation directories and common portable/package-manager locations (including GitHub Desktop). For an unusual installation, set OPENTASKBAR_GIT to the absolute executable path. cargo xtask release doctor reports the resolved executable and version. A clean Git checkout is required: the release tool records the commit and payload SHA-256 in artifacts/release-provenance/. Packaging checks every artifact and promotes a verified staging directory; on failure the previous tagged release bundle is kept. Do not run concurrent release commands. If an interrupted run leaves artifacts/release.backup or artifacts/release.lock, verify that no release process is active before recovering the backup or removing the stale lock. Test the full pipeline without publishing via Actions → Manual Packaging → full_release on the branch under review. WinGet validation uses the installed winget client; if unavailable on CI, run validate-manifests locally. The old PowerShell packaging scripts have been retired.

Tests cover deterministic settings/i18n/shell-recovery logic; real Windows behavior needs the manual checks in docs/development/windows-reliability-audit.md. Design notes: docs/development/windows-taskbar-model.md.

Work area

A bottom dock reserves only its visible bar and bottom gap, on every monitor it is on. Windows will not reserve less than the native taskbar's height while that taskbar is merely hidden, so OpenTaskbar also switches the hidden taskbar to auto-hide while the dock runs, including when the dock itself stays visible. The original state is recorded in the recovery journal first, and is restored by the watchdog or --restore.

Command line

Argument Effect
(none) Acquire the single-instance lock, repair a pending journal, load settings, run the dock
--settings Open only the Settings window; exit when it closes
--restore Replay the taskbar/flyout recovery journal and exit
--extract-icons Icon extractor worker driven over stdin/stdout
--software-render Force software rendering for this launch
--update* / action=update* Update-toast activation arguments handled by the in-app updater

There are no file-manager or panel launch modes.

Where data is stored

Everything lives in %LOCALAPPDATA%\OpenTaskbar\:

Path Contents
settings.json Preferences, dock geometry, pins, widget IDs, profiles
log.txt Diagnostics; rotated to log.old.txt
Themes\ Installed theme packs
secrets\ DPAPI-protected provider credentials
rust-cache\icon-cache\ Extracted icons
taskbar-state.txt, flyout-positions.txt Recovery journals
OpenTaskbarWatchdog.exe Runtime watchdog extracted from the app EXE for crash recovery

Unknown settings keys are preserved on save, invalid JSON is backed up before defaults are restored, and no secret is written to the log or to .otbackup archives. The old separate-folder layout is retired; import a full backup to migrate from it.

Widget catalog

The built-in catalog is generated from crates/opentaskbar-app/src/widgets/registry.rs and contains 23 cards: Time & Weather (Clock & Date, Weather, Day Progress, Stopwatch, Countdown), System & Hardware (System Stats, Net Speed, Battery, Bluetooth Battery, Storage), AI Quotas (Claude, Codex, OpenCode, Copilot, DeepSeek, OpenRouter, Cursor), Media & Controls (Media, Audio, Quick Settings, Keyboard Layout) and Productivity (Focus, Screenshot). Folder Stacks and App Groups are dock-only helpers, not catalog cards; Show Desktop is a shell action with no dock chip. Custom widgets run as separate local processes and are added to the catalog dynamically.

Code layout

Crate Responsibility
opentaskbar-core Settings schema, i18n (14 catalogs), paths, logging, deterministic logic
opentaskbar-shell Taskbar journal, AppBar reservation, flyout repositioning, watchdog
opentaskbar-app DirectComposition dock and GPUI Settings UI, widget catalog, Win32 platform layer

Bundled resources live in resources/fonts/, resources/assets/ and resources/themes/; the root also holds packaging/msix/, scripts/, tests/reference/locales/ and tools/watchdog/. User guides are in docs/guides/, engineering notes in docs/development/. CI lives in .github/workflows/: ci.yml (fmt, clippy, tests, release build), rust-ci.yml (watchdog/x86 and locale gates) and release.yml (packaging with SLSA attestation and an optional VirusTotal scan).

Feature flags

Flags are read from DockSettings.extra; defaults match the code.

Flag Default Effect
enable_live_tray_host false Registry discovery and tray strip leave the native tray untouched
native_flyout_reposition true Generation-cancelled Start/Search/Control Center positioning; false uses journal-only legacy positioning
enable_vertical_dock true Left/right edges enabled; false forces Bottom

The theme editor, vendor battery reading and AI sign-in flows are always available; they are not gated by settings flags.

探索相关项目

加载中…