Skip to content

About

Fast display group switching for Windows with hotkeys, tray, and gamepad support

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Display Switcher

Fast display group switching for Windows with global hotkeys, gamepad chords, system tray, and optional post-actions (Steam Big Picture, custom programs).

Features

  • Display groups — assign monitors via dropdown, save atomic layout snapshots
  • Triggers — global hotkeys, system tray, gamepad chords (XInput), config UI
  • Post-actions — exit/launch Steam Big Picture, run programs or shell commands
  • Telemetry — on-device switch timing (median/p95 display apply latency)
  • Themes — light, dark, or system

Requirements

  • Windows 10/11
  • Bun (package manager + script runner)
  • Rust
  • Visual Studio 2022 Build Tools (C++ workload) for native compilation

Development

cd display-switcher
bun install
bun run tauri dev

Build installer

bun run tauri build

Regenerate app icons

Source: icon-concepts/concept-4-single-refresh.svg

bun run icon

Release

Bump the version in package.json, src-tauri/Cargo.toml, and src-tauri/tauri.conf.json, then create an annotated git tag:

bun run release patch    # 0.1.0 -> 0.1.1
bun run release minor    # 0.1.0 -> 0.2.0
bun run release major    # 0.1.0 -> 1.0.0

Add --push to commit, tag, and push in one step:

bun run release patch --push

Pushing a v* tag triggers the GitHub Actions release workflow, which builds the Windows installers and attaches them to a GitHub Release.

Output: src-tauri/target/release/bundle/nsis/

Default test setup

After onboarding, two groups are created:

Group Hotkey Post-action
Desktop Mode Ctrl+Alt+D Exit Steam Big Picture
TV Mode Ctrl+Alt+T Launch Steam Big Picture

Assign your monitors, arrange layouts in Windows Settings, then click Save layout for each group.

Config location

%APPDATA%/display-switcher/

  • config.json — groups, hotkeys, settings
  • profiles/ — serialized display paths
  • telemetry.jsonl — switch timing records

License

MIT

About

Fast display group switching for Windows with hotkeys, tray, and gamepad support

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages