Giter Site home page Giter Site logo

hurduring / windows-desktop-switcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pmb6tz/windows-desktop-switcher

0.0 2.0 0.0 33 KB

An AutoHotKey script for Windows that lets a user change virtual desktops by pressing CapsLock + <num>.

AutoHotkey 100.00%

windows-desktop-switcher's Introduction

windows-desktop-switcher

An AutoHotKey script for Windows that lets a user change virtual desktops by pressing CapsLock + <num>. It also allows for creation/deletion of desktops by hotkey (see below).

Overview

This script creates 'better' hotkeys for switching virtual desktops in windows 10. I built this to better mirror the mapping I use on linux (with dwm), and it's always annoyed me that Windows does not have better hotkey support for this feature (for instance, there's no way to go directly to a desktop by number).

Note that this only overrides CapsLock for the key combinations below. Otherwise, CapsLock will function normally.

Installation

Install AutoHotKey, then run the desktop_switcher.ahk script (open with AutoHotKey if prompted). I would recommend putting it in your startup folder and it'll be invoked on login.

Hotkeys

    <CapsLock> + <Num>      - Switches to virtual desktop "num".
    <CapsLock> + C          - Create a new virtual desktop
    <CapsLock> + D          - Delete the current virtual desktop
    <CapsLock> + A or P     - Switch to virtual desktop on left
    <CapsLock> + S or N     - Switch to virtual desktop on right

To change the key mappings, modify the bottom of the script and reload. Be sure to read about the symbols AutoHotKey uses for key mapping.

Other

To see debug messages, download SysInternals DebugView.

Disclaimer: I've only tried this on my machine, and on Windows 10. Use at your own risk.

windows-desktop-switcher's People

Contributors

pmb6tz avatar pbozzay avatar perlence avatar

Watchers

James Cloos avatar Aleksandr Lantsev avatar

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.