Giter Site home page Giter Site logo

whirlwin's Introduction

Whirlwin

A simple and lightweight alternative to the Windows Alt+Tab switcher, built in Rust.

Features:

  • Allows user to quickly switch between windows using vim-like keybinds
  • Lightweight and resource-efficient.

Installation

  1. Download the latest release from the Releases tab.
  2. Extract the archive and run the executable file.

Usage

The leader key allows the user to enter hotkey mode providing access to other keybinds.

  • Key: Shift + Enter

Once the leader key has been pressed, the following keybinds can be accessed:

  • Key: H
    Switch focus to the window to the left.
  • Key: L
    Switch focus to the window to the right.
  • Key: J
    Switch focus to the window above.
  • Key: K
    Switch focus to the window below.
  • Key: N
    Switch focus to the next window.
  • Key: D
    Close the current window.
  • Key: P
    Switch focus to the previous window.
  • Key: ESC
    Exits hotkey mode and unregisters all active keybinds.

Additional Notes:

  • Keybinds are registered using the RegisterHotKey function.
  • Keybinds can be unregistered using the UnregisterHotKey function.
  • The handle_hotkey function handles incoming hotkey events.
  • The WindowManagerMessage enum is used to communicate between the hotkey handler and the window manager.

Development

  1. Ensure you have Rust and Cargo installed (https://www.rust-lang.org/tools/install).
  2. Clone the repository:
git clone https://github.com/jhideki/whirlwin.git

whirlwin's People

Contributors

jhideki avatar

Stargazers

جاد avatar  avatar

Watchers

 avatar

whirlwin's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.