-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I change the default colors? #38
Comments
When used as a Component inside a project and not as a utility\command, you can pretty much change the colors as you like: As for the utility\command customizations there's going to be an update (there's also a discussion about it here) But there's also an issue I found today that might get a while to be fixed, (most probably) related to the ncurses not performing the |
|
So, from my understanding both ncurses and pdcurses support 10bit colors (0-1000 per channel) with But even though ncurses says it also supports the extended 15 bit colors (unsigned int 0-32767 per channel) via Anyways 10bit are fine for now. ✨ Also another thing i've noticed, which caught my eye! is when i initialize more than update |
I let this profile-parser here for future reference, but i won't integrate it yet, because i have to figure out what i've said above... + I don't think it's the right time yet considering the status of the project. if isfile(f'{CONFIG_PATH}{sep}PROFILES'):
with open(f'{CONFIG_PATH}{sep}PROFILES', 'r') as file:
line = ''
icon = ''
pair = None
call = ''
name = ''
tmpp = None
for block_line in file:
if not block_line.strip() == '{': continue # Start of a block
while True:
line = next(file)
if line.startswith('name:'):
name = line[5:-1]
continue
elif line.startswith('call:'):
call = line[5:-1]
if call == 'DEFAULT_EDITOR': DEFAULT_EDITOR
elif call == 'DEFAULT_OPENER': DEFAULT_OPENER
continue
elif line.startswith('pair:'):
pair = line[5:-1]
continue
elif line.startswith('icon:'):
while True:
line = next(file)
if line.strip() == '}':break
icon += line
icon = icon[:-1]
break
if line.strip() == '}':break
if pair and call and icon:
TUIFIProfiles[name] = TUIFIProfile(icon,int(pair),call)
else: # Override existing profile
tmpp = TUIFIProfiles[name]
if pair: tmpp.color_map = int(pair)
if icon: tmpp.text = icon
if call: tmpp.open_with = call
icon = ''
pair = None
call = ''
name = ''
#TODO: setter getter to profile text
|
Oh nice, maybe slightly hard to read. Hopefully you can provide a float value from 0 to 1 |
@Sigmanificient transparency depends on the configuration of your terminal + your compositing manager. |
I know that kitty has a setting for |
Same thing with allacritty |
You said:
So I did.
The text was updated successfully, but these errors were encountered: