Skip to content

Commit c1a6837

Browse files
committed
init
0 parents  commit c1a6837

23 files changed

+2320
-0
lines changed

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Xcode
2+
#
3+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4+
5+
## User settings
6+
xcuserdata/
7+
8+
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
9+
*.xcscmblueprint
10+
*.xccheckout
11+
12+
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
13+
build/
14+
DerivedData/
15+
*.moved-aside
16+
*.pbxuser
17+
!default.pbxuser
18+
*.mode1v3
19+
!default.mode1v3
20+
*.mode2v3
21+
!default.mode2v3
22+
*.perspectivev3
23+
!default.perspectivev3
24+
DerivedData

LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2018 Roman Khomenko, Benjamin Dobell, Glass Echidna
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Razer Chroma (MacOS)
2+
3+
after buying Razer headphones I was disapointed that I cannot programmatically change color.
4+
But thanks to [Benjamin Dobell](https://github.com/Benjamin-Dobell) and his awsome library [GERazerKit](https://github.com/Benjamin-Dobell/GERazerKit)
5+
I wrote simple console tool that can do it.
6+
7+
## Usage
8+
9+
Program accepts 4 arguments: device id(integer) and Red Green Blue (floats)
10+
For example: `./chroma 4 1 0 0.0`, sets Headphones to Red. Device ID is small number (usually less than 15), so you should just try them all or use [monitor](https://github.com/Benjamin-Dobell/GERazerKit/tree/master/Tools)
11+
12+
Btw, do not forget to setup `Razer Synapse`
13+
14+
## Why
15+
16+
I'm using this with [Hammerspoon](http://www.hammerspoon.org) and Pomodoro Technique. When I'm in flow my Headphones are red so my family should not interrupt.
17+
18+
## How to build
19+
20+
Clone repo and just start XCode. Or you can download program from release.

0 commit comments

Comments
 (0)