change color scheme
This commit is contained in:
12
sketchybar/plugins/theme.sh
Executable file
12
sketchybar/plugins/theme.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
query=$(defaults read -g AppleInterfaceStyle | xargs)
|
||||
|
||||
if [ "$query" = "Dark" ]; then
|
||||
sketchybar --bar color=0xff232136 \
|
||||
--set '/.*/' icon.color=0xffe0def4 label.color=0xffe0def4
|
||||
else
|
||||
sketchybar --bar color=0xfffaf4ed \
|
||||
--set '/.*/' icon.color=0xff575279 label.color=0xff575279
|
||||
fi
|
||||
|
Reference in New Issue
Block a user