Giter Site home page Giter Site logo

stiftcast / easyxmotion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loki42/easyxmotion

0.0 0.0 0.0 36 KB

Jump to windows in a style similar to the easymotion vim plugin, best with tiling WMs

License: GNU General Public License v2.0

Python 100.00%

easyxmotion's Introduction

Easyxmotion

A Easy motion style window switcher.

How it works

To focus any visible window just launch easyxmotion (preferably from a key binding) then it displays letters on each window, type that letter to jump to the window.

Should work with any window manager that supports EWMH. It probably only makes sense with tiling window managers. This fork is focused on compatibility with QTile.

inspired by the easymotion vim plugin.

Dependencies

Arch

sudo pacman -S libwnck3 xosd python-gobject python-xlib

The xorg-xlsfonts package can also be installed, it comes in handy when configuring the desired font.

Installing

Install with the pipx (recommended) or pip commands:

pipx install \
"https://github.com/stiftcast/easyxmotion/releases/download/v1.0/easyxmotion-1.0-py3-none-any.whl"

or

pip3 install --user \
"https://github.com/stiftcast/easyxmotion/releases/download/v1.0/easyxmotion-1.0-py3-none-any.whl"

Alternatively, you can download the wheel here and install it locally:

cd ~/Downloads  # Or wherever you saved it
pip3 install --user easyxmotion-1.0-py3-none-any.whl

Afterwards, you can use the program by issuing the command easyxmotion.

Example

The best way to use this program is by wrapping it in a shell script, and calling it using a keybinding in your window manager.

In addition, using the xte (provided by the xautomation package) command to trigger a keyup action on the keys that correspond to the keybinding used to launch the script can help prevent the program from prematurely exiting, in case you don't take your hand off the keys right away.

xte "keyup Super_L"
xte "keyup w"
easyxmotion  # Append your options here, if desired.

Note that the above will likely be need to be called using sudo. This is due to easyxmotion needing access to the /run directory.

easyxmotion's People

Contributors

stiftcast avatar loki42 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.