Coder Social home page Coder Social logo

hyprswitchr's Introduction

HyprSwitchr

An urgent-first/most-recent window switcher inspired by swayr

Install

Currently tested and working with v0.36.0 commit 1c460e98f870676b15871fe4e5bfeb1a32a3d6d8
hyprpm add https://github.com/pyt0xic/hyprswitchr --verbose

Usage

  1. Enable with hyprpm enable hyprswitchr
  2. Make sure you have exec-once=hyprpm reload -n in your hyprland.conf
  3. Switch to urgent or most-recently-used window hyprctl dispatch switch-to-urgent-or-prev
  4. Switch to urgent or least-recently-used window hyprctl dispatch switch-to-urgent-or-next
  5. Switch to matching, urgent or most-recently-used window hyprctl dispatch switch-to-matching-urgent-or-prev '^(.*kitty.*)'
  6. Switch to matching, urgent or least-recently-used window hyprctl dispatch switch-to-matching-urgent-or-next '^(.*kitty.*)'
  7. Get the window list in most-recently-used order hyprctl windowlist or in JSON format hyprctl windowlist -j
  8. Get the window list in least-recently-used order hyprctl windowlist-reverse or in JSON format hyprctl windowlist -j
  9. Switch to urgent or most-recently-used window, tracking current position in the window list hyprctl dispatch switch-to-urgent-or-prev-tracked
  10. Switch to urgent or least-recently-used window, tracking current position in the window list hyprctl dispatch switch-to-urgent-or-next-tracked
  11. Stop tracking current switch position hyprctl dispatch stop-switching

For normal ALT+TAB style usage:

bind=ALT,TAB,switch-to-urgent-or-prev-tracked
bind=ALT+SHIFT,TAB,switch-to-urgent-or-next-tracked
bindirt=,ALT_L,stop-switching

This will let you cycle through the window list by holding ALT/ALT+SHIFT and pressing tab, much like the behaviour of ALT+TAB in Windows.

hyprswitchr's People

Contributors

pyt0xic avatar

Watchers

 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.