https://github.com/michaelmcallister/razer-status-code
a simple ZSH plugin to change the colour of your Razer Mouse based on the status of the last executed command
https://github.com/michaelmcallister/razer-status-code
Last synced: about 19 hours ago
JSON representation
a simple ZSH plugin to change the colour of your Razer Mouse based on the status of the last executed command
- Host: GitHub
- URL: https://github.com/michaelmcallister/razer-status-code
- Owner: michaelmcallister
- License: mit
- Created: 2017-12-17T11:01:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-17T11:41:11.000Z (almost 8 years ago)
- Last Synced: 2025-11-12T10:05:11.306Z (8 days ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-zsh-plugins - razer-status-code - Change the color of your [Razer Mouse](https://openrazer.github.io/) based on the status of the last executed command. Requires [OpenRazer](https://openrazer.github.io) linux drivers. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - razer-status-code - Change the color of your đ [Razer Mouse](openrazer.github.io/) based on the status of the last executed command. Requires đ [OpenRazer](openrazer.github.io) linux drivers. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - razer-status-code - change the colour of your [Razer Mouse](https://openrazer.github.io/) based on the status of the last executed command. Requires [OpenRazer](https://openrazer.github.io) linux drivers. (Plugins / Zinit (nÊe zplugin))
README
# Razer Mouse Status (Oh-My-ZSH Plugin)
This simple [oh-my-zsh plugin](https://github.com/robbyrussell/oh-my-zsh) changes the colour of your Razer mouse depending on the status of the command you just executed.
### Prerequisites
You absolutely must have the [OpenRazer](https://openrazer.github.io/) 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](https://github.com/robbyrussell/oh-my-zsh/wiki/Customization#overriding-and-adding-plugins) documentation for further details on installing custom plugins.
## Authors
* **Michael McAllister** - *Initial work* - [homepage](https://blog.skunkw0rks.io/)
See also the list of [contributors](https://github.com/michaelmcallister/razer-status-code/graphs/contributors) who participated in this project.
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgments
* huge thanks to [OpenRazer](https://openrazer.github.io/) - any person that puts effort into creating a driver so people that use Linux as a daily driver has my eternal thanks.