You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# ~/dotfiles/base16_handler_shell.sh# get the yaml file
yaml_path=$(tinty info "$(tinty current)"| grep -Poi '\@\K.*(.*.yaml)')# strip the leading and trailing whitespaces
yaml_path=$(echo "$yaml_path"| xargs)$(grep "variant""$yaml_path"| grep --silent -i "light")
is_light=$?echo"$is_light">>~/.base16_theme_light
The text was updated successfully, but these errors were encountered:
Interesting, yes I do see the value having tinty solve your issue. I'll look at fleshing out the tinty current subcommand to accept args for the meta info of the scheme, for example tinty current variant and tinty current author. What do you think of that?
What version of
tinty
are you using?tinty 0.18.0
Hi, is there a way to detect if the current theme is dark or light, or just read the 'variant' from the theme file?
I want to script this detection, so could pass the appropriate theme argument to other cli tools.
Currently having to do a bit of a workaround in the shell handler:
The text was updated successfully, but these errors were encountered: