Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bin/omarchy-theme-set-keyboard
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

omarchy-theme-set-keyboard-asus-rog
omarchy-theme-set-keyboard-f16
omarchy-theme-set-keyboard-razer
8 changes: 8 additions & 0 deletions bin/omarchy-theme-set-keyboard-razer
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

RAZER_THEME=~/.config/omarchy/current/theme/keyboard.rgb

if omarchy-cmd-present razer-cli && [[ -f $RAZER_THEME ]]; then
color=$(cat "$RAZER_THEME" | tr -d '#')
razer-cli --effect static --brightness 100 --color $color
fi