Dynamic accent color

This commit is contained in:
agryphus 2024-01-08 23:23:33 -05:00
parent 4dc1a98098
commit dade3f53f2
3 changed files with 88 additions and 0 deletions

14
.local/bin/menu-accent Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env zsh
accent=$(echo "black
red
green
yellow
blue
purple
cyan
white" | rofi -no-fixed-num-lines -dmenu -p "Choose an accent color:")
[ -z "$accent" ] && exit 0
echo "$accent" > ~/.config/colors/accent
source ~/.config/zsh/.zshrc