Dynamic accent color
This commit is contained in:
parent
4dc1a98098
commit
dade3f53f2
3 changed files with 88 additions and 0 deletions
14
.local/bin/menu-accent
Executable file
14
.local/bin/menu-accent
Executable 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue