Skip to content

A simple bash script to toogle an input device listed in xinput

Notifications You must be signed in to change notification settings

arpitsingla96/toogle-xinput

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

toogle-xinput

A simple bash script to toogle [ON/OFF] an input device listed in xinput

Usage

  1. Download the script.
  2. Run xinput list to see a list of available input devices and note the id of the device you want to toogle.
  3. Make the script executable using chmod +x toogle-input.sh.
  4. Run ./toogle-xinput.sh [id] to toogle that input device.
  5. Create a custom keyboard shortcut for this command.

Features

  • Sends an event notification on:
    • KDE
    • Ubuntu

About

A simple bash script to toogle an input device listed in xinput

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages