Last active
November 16, 2021 14:50
-
-
Save thaddeusc1/5c17cbb875b1ead0d31e8964b91ab2c1 to your computer and use it in GitHub Desktop.
Configure the pump and lights for the NZXT Kraken X63
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. | |
| # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
| AIO_NAME='Kraken X' | |
| NZXT_PURPLE='rgb(170,0,255)' | |
| INDIGO='rgb(75,0,130)' | |
| ORCHID='rgb(218,112,214)' | |
| RED='rgb(255,0,0)' | |
| RED_33='hsv(0,100,33)' | |
| liquidctl initialize all | |
| # tuples of (coolant_temp_celsius, percent_pump_speed) | |
| liquidctl --match "${AIO_NAME}" set pump speed \ | |
| 20 30 \ | |
| 30 50 \ | |
| 34 80 \ | |
| 40 90 \ | |
| 50 100 | |
| liquidctl --match "${AIO_NAME}" set ring color tai-chi "${NZXT_PURPLE}" --speed faster | |
| liquidctl --match "${AIO_NAME}" set logo color fixed "${NZXT_PURPLE}" | |
| #liquidctl --match "${AIO_NAME}" set external color fixed "${NZXT_PURPLE}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. | |
| # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
| [Unit] | |
| Description=Configure the NZXT Kraken X63 during OS initialization. | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/home/<user_name_here>/.local/bin/configureKrakenX63.sh | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment