change color scheme

This commit is contained in:
2024-12-08 15:49:58 +00:00
parent c1a80f66bb
commit cf6d4c58b0
15 changed files with 353 additions and 29 deletions

12
sketchybar/plugins/theme.sh Executable file
View 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