Don't depend on COLORTERM being there
This commit is contained in:
parent
9ebe4811de
commit
24cdbe6f97
1 changed files with 2 additions and 1 deletions
|
|
@ -75,10 +75,11 @@ $TAKO_SETTINGS.aliases.update({
|
|||
'enscript': 'enscript -M Letter',
|
||||
'screenshot': _screenshot,
|
||||
'g': 'git',
|
||||
'rg': 'rg -S',
|
||||
})
|
||||
|
||||
if 'TERM' in ${...}:
|
||||
if 'truecolor' in $COLORTERM or '24bit' in $COLORTERM:
|
||||
if 'COLORTERM' in ${...} and ('truecolor' in $COLORTERM or '24bit' in $COLORTERM):
|
||||
colors = {
|
||||
'blue': (95, 215, 255),
|
||||
'orange': (215, 95, 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue