kak: random color for statusbar text
This commit is contained in:
parent
fcfe5a2091
commit
9beaf86991
|
@ -76,6 +76,7 @@ profiles:
|
|||
txt: '#FFFFFF'
|
||||
nontxt: '#252525'
|
||||
|
||||
random_range: "[a-f]"
|
||||
normal:
|
||||
black: '#404040'
|
||||
red: '#AB4642'
|
||||
|
@ -104,6 +105,7 @@ profiles:
|
|||
txt: '#303030'
|
||||
nontxt: '#D0D0D0'
|
||||
|
||||
random_range: "[0-4]"
|
||||
normal:
|
||||
black: '#555555'
|
||||
red: '#D54E53'
|
||||
|
|
|
@ -57,8 +57,15 @@ face global MenuInfo cyan
|
|||
face global Information default,{{@@ bg_dark @@}}
|
||||
face global Error default,red+g
|
||||
|
||||
face global StatusLine default,{{@@ bg_dark @@}}
|
||||
face global StatusLineMode green
|
||||
face global StatusLine %sh{
|
||||
printf "rgb:"
|
||||
head /dev/urandom |
|
||||
base64 |
|
||||
rg --text -o '{{@@ color.random_range @@}}' |
|
||||
head -n 6 |
|
||||
sd '\n' ''
|
||||
}
|
||||
face global StatusLineMode StatusLine
|
||||
face global StatusLineInfo StatusLine
|
||||
face global StatusLineValue StatusLine
|
||||
face global StatusCursor {{@@ accent_fg @@}},{{@@ accent_color @@}}
|
||||
|
|
Reference in New Issue