Giter VIP home page Giter VIP logo

urxvt-curplosion's Introduction

urxvt-curplosion

Curplosion is a cursor locator extension for urxvt.

When triggered, it produces a curplosion (or cursor explosion) which is easy to spot.

curplosion

The following events can trigger a curplosion (if enabled):

  • manual trigger
  • terminal window regaining focus
  • terminal bell

This extension is especially useful when using multi-window setup (like tmux or vim with multiple splits).

Installation

  • Clone the extension into the urxvt extensions directory;
mkdir -p ~/.urxvt/ext/
cd ~/.urxvt/ext/
git clone https://github.com/tgorochowik/urxvt-curplosion.git curplosion
  • Enable the extension in the ~/.Xdefaults file:
urxvt.perl-ext-common: curplosion/curplosion

Configuration

The configuration can be adjusted in the ~/.Xdefaults file.

The default trigger is C-slash. To change it, adjust the following setting:

urxvt.curplosion.trigger:  C-slash

Play with the following settings to adjust the looks of the cursor explosion:

urxvt.curplosion.colors:   5, 7, 5
urxvt.curplosion.sizes:    3, 7

Additionally, the duration of the curplosion can be adjusted:

urxvt.curplosion.duration: 50

The unit of the duration is a millisecond. Also please note, that if the duration is set to a very small value the terminal might not be able to process it fast enough, and it will longer then desired. The explosion does NOT block the terminal, so setting it to a very large value is safe as it will not prevent any other usage of the terminal.

To automatically trigger a curplosion on window focus, or on terminal bell, set the corresponding variables:

urxvt.curplosion.show-on-focus: true
urxvt.curplosion.show-on-bell:  true

urxvt-curplosion's People

Contributors

tgorochowik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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