Skip to content

a simple ZSH plugin to change the colour of your Razer Mouse based on the status of the last executed command

License

Notifications You must be signed in to change notification settings

michaelmcallister/razer-status-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Razer Mouse Status (Oh-My-ZSH Plugin)

This simple oh-my-zsh plugin changes the colour of your Razer mouse depending on the status of the command you just executed.

Prerequisites

You absolutely must have the OpenRazer Linux drives installed beforehand.

Check the repo, or https://openrazer.github.io for installation instructions.

Quick installation instructions:

Ubuntu/Linux Mint

$ sudo add-apt-repository ppa:openrazer/stable
$ sudo apt update && sudo apt install openrazer-meta

Gentoo

$ sudo layman -a vifino-overlay
$ emerge razer-drivers

You also must have oh-my-zsh installated too:

via curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

via wget

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

Installing

Installation is as easy as cloning this repo into your $ZSH_CUSTOM plugins directory and adding razer-mouse-status to your plugins in your ~/.zshrc

$ git clone https://github.com/michaelmcallister/razer-status-code $ZSH_CUSTOM/plugins

And edit ~/.zshrc in your favourite editor

$ vim ~/.zshrc

See oh-my-zsh documentation for further details on installing custom plugins.

Authors

  • Michael McAllister - Initial work - homepage

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • huge thanks to OpenRazer - any person that puts effort into creating a driver so people that use Linux as a daily driver has my eternal thanks.

About

a simple ZSH plugin to change the colour of your Razer Mouse based on the status of the last executed command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages